public static function PHPUnit_Framework_Assert::assertAttributeNotInternalType

Asserts that an attribute is of a given type.

@since Method available since Release 3.5.0

Parameters

string $expected:

string $attributeName:

mixed $classOrObject:

string $message:

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php, line 1320

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertAttributeNotInternalType($expected, $attributeName, $classOrObject, $message = '') {
  self::assertNotInternalType($expected, self::readAttribute($classOrObject, $attributeName), $message);
}