function assertAttributeCount

Asserts the number of elements of an array, Countable or Iterator that is stored in an attribute.

@since Method available since Release 3.6.0

Parameters

integer $expectedCount:

string $haystackAttributeName:

mixed $haystackClassOrObject:

string $message:

File

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

Code

function assertAttributeCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertAttributeCount', func_get_args());
}