function assertAttributeSame

Asserts that a variable and an attribute of an object have the same type and value.

Parameters

mixed $expected:

string $actualAttributeName:

object $actualClassOrObject:

string $message:

File

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

Code

function assertAttributeSame($expected, $actualAttributeName, $actualClassOrObject, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertAttributeSame', func_get_args());
}