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
mixed $needle:
string $haystackAttributeName:
mixed $haystackClassOrObject:
string $message:
boolean $ignoreCase:
boolean $checkForObjectIdentity:
public static function assertAttributeContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = FALSE, $checkForObjectIdentity = TRUE) {
self::assertContains($needle, self::readAttribute($haystackClassOrObject, $haystackAttributeName), $message, $ignoreCase, $checkForObjectIdentity);
}