Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.
@since Method available since Release 3.1.4
string $type:
string $haystackAttributeName:
mixed $haystackClassOrObject:
boolean $isNativeType:
string $message:
public static function assertAttributeContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType = NULL, $message = '') {
self::assertContainsOnly($type, self::readAttribute($haystackClassOrObject, $haystackAttributeName), $isNativeType, $message);
}