function assertContains

Asserts that a haystack contains a needle.

@since Method available since Release 2.1.0

Parameters

mixed $needle:

mixed $haystack:

string $message:

boolean $ignoreCase:

boolean $checkForObjectIdentity:

File

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

Code

function assertContains($needle, $haystack, $message = '', $ignoreCase = FALSE, $checkForObjectIdentity = TRUE) {
  return call_user_func_array('PHPUnit_Framework_Assert::assertContains', func_get_args());
}