PHPUnit_Framework_Assert::assertAttributeNotContains

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