function assertAttributeInstanceOf

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/Functions.php, line 259

Code

function assertAttributeInstanceOf($expected, $attributeName, $classOrObject, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertAttributeInstanceOf', func_get_args());
}