PHPUnit_Framework_Assert::matches

Returns a PHPUnit_Framework_Constraint_StringMatches matcher object.