public static function PHPUnit_Framework_Assert::matches

Returns a PHPUnit_Framework_Constraint_StringMatches matcher object.

@since Method available since Release 3.5.0

Parameters

string $string:

Return value

PHPUnit_Framework_Constraint_StringMatches

6 calls to PHPUnit_Framework_Assert::matches()

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php, line 2705

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function matches($string) {
  return new PHPUnit_Framework_Constraint_StringMatches($string);
}