You are here

function assertObjectHasAttribute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \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

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 1183

Code

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