public static function PHPUnit_Framework_Assert::assertAttributeNotInstanceOf

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 1242

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

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