PHPUnit_Framework_Assert::assertInstanceOf

Asserts that a variable is of a given type.