You are here

function assertAttributeContains in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertAttributeContains()

Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle.

@since Method available since Release 3.0.0

Parameters

mixed $needle:

string $haystackAttributeName:

mixed $haystackClassOrObject:

string $message:

bool $ignoreCase:

bool $checkForObjectIdentity:

bool $checkForNonObjectIdentity:

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 117

Code

function assertAttributeContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false) {
  return call_user_func_array('PHPUnit_Framework_Assert::assertAttributeContains', func_get_args());
}