PHPUnit_Framework_Assert::assertCount
Asserts the number of elements of an array, Countable or Traversable.
Signature
public function assertCount(integer
$expectedCount,
[mixed
$haystack = '',
[string
$message = '']] )
Parameters
$expectedCount
— integer$haystack
— mixed$message
— string