function assertCount

Asserts the number of elements of an array, Countable or Iterator.

Parameters

integer $expectedCount:

mixed $haystack:

string $message:

File

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

Code

function assertCount($expectedCount, $haystack, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertCount', func_get_args());
}