@covers PHPUnit_Framework_Assert::assertCount
public function testAssertCountThrowsExceptionIfExpectedCountIsNoInteger() {
try {
$this
->assertCount('a', array());
} catch (PHPUnit_Framework_Exception $e) {
$this
->assertEquals('Argument #1 of PHPUnit_Framework_Assert::assertCount() must be a integer', $e
->getMessage());
return;
}
$this
->fail();
}