public static function PHPUnit_Framework_Assert::stringEndsWith

Returns a PHPUnit_Framework_Constraint_StringEndsWith matcher object.

@since Method available since Release 3.4.0

Parameters

mixed $suffix:

Return value

PHPUnit_Framework_Constraint_StringEndsWith

4 calls to PHPUnit_Framework_Assert::stringEndsWith()

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function stringEndsWith($suffix) {
  return new PHPUnit_Framework_Constraint_StringEndsWith($suffix);
}