◆ __construct()
PHPUnit\Framework\Constraint\Count::__construct |
( |
int |
$expected | ) |
|
◆ failureDescription()
PHPUnit\Framework\Constraint\Count::failureDescription |
( |
|
$other | ) |
|
|
protected |
Returns the description of the failure.
The beginning of failure messages is "Failed asserting that" in most cases. This method should return the second part of that sentence.
- Parameters
-
mixed | $other | evaluated value or object |
Reimplemented from PHPUnit\Framework\Constraint\Constraint.
◆ getCountOf()
PHPUnit\Framework\Constraint\Count::getCountOf |
( |
|
$other | ) |
|
|
protected |
◆ getCountOfGenerator()
PHPUnit\Framework\Constraint\Count::getCountOfGenerator |
( |
Generator |
$generator | ) |
|
|
protected |
Returns the total number of iterations from a generator. This will fully exhaust the generator.
◆ matches()
PHPUnit\Framework\Constraint\Count::matches |
( |
|
$other | ) |
|
|
protected |
◆ toString()
PHPUnit\Framework\Constraint\Count::toString |
( |
| ) |
|
The documentation for this class was generated from the following file:
- vendor/phpunit/phpunit/src/Framework/Constraint/Count.php