You are here

function assertCount in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertCount()

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

Parameters

int $expectedCount:

mixed $haystack:

string $message:

File

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

Code

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