PHPUnit_Framework_Assert::assertAttributeNotContainsOnly

Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.