public static function PHPUnit_Framework_Assert::countOf in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::countOf()
Returns a PHPUnit_Framework_Constraint_Count matcher object.
Parameters
int $count:
Return value
PHPUnit_Framework_Constraint_Count
1 call to PHPUnit_Framework_Assert::countOf()
- Framework_AssertTest::testAssertThatCountOf in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::countOf
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 2812
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function countOf($count) {
return new PHPUnit_Framework_Constraint_Count($count);
}