PHPUnit_Framework_Assert::identicalTo

Returns a PHPUnit_Framework_Constraint_IsIdentical matcher object.