PHPUnit_Framework_Assert::attribute

Returns a PHPUnit_Framework_Constraint_Attribute matcher object.