public function assertAttributeContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false) {
        $this->callAssertMethod(__FUNCTION__, [
            'expected' => $key,
        ]);
    }
public function assertAttributeContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false) {
        $this->callAssertMethod(__FUNCTION__, [
            'expected' => $key,
        ]);
    }
public function assertAttributeContains ( $ needle , $ haystackAttributeName , $ haystackClassOrObject , $ message = '' , $ ignoreCase = false , $ checkForObjectIdentity = true , $ checkForNonObjectIdentity = false ) { $ this -> callAssertMethod ( __FUNCTION__ , [ 'expected' => $ key , ] ) ; }
Asserts that a haystack that is stored in a static attribute of a class
or an attribute of an object contains a needle.

@param mixed $needle
@param string $haystackAttributeName
@param string|object $haystackClassOrObject
@param string $message
@param bool $ignoreCase
@param bool $checkForObjectIdentity
@param bool $checkForNonObjectIdentity
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle .