PHPUnit_Framework_Assert::assertAttributeInstanceOf

Asserts that an attribute is of a given type.