function assertObjectHasAttribute

Asserts that an object has a specified attribute.

@since Method available since Release 3.0.0

Parameters

string $attributeName:

object $object:

string $message:

File

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

Code

function assertObjectHasAttribute($attributeName, $object, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertObjectHasAttribute', func_get_args());
}