PHPUnit_Framework_Assert::assertAttributeContains

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