function assertStringEndsWith

Asserts that a string ends with a given prefix.

@since Method available since Release 3.4.0

Parameters

string $suffix:

string $string:

string $message:

File

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

Code

function assertStringEndsWith($suffix, $string, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertStringEndsWith', func_get_args());
}