PHPUnit_Framework_Assert::assertInternalType

Asserts that a variable is of a given type.