function InvocationOrder::numberOfInvocations
5 calls to InvocationOrder::numberOfInvocations()
- InvokedAtLeastCount::verify in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ InvokedAtLeastCount.php - Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
- InvokedAtLeastOnce::verify in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ InvokedAtLeastOnce.php - Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
- InvokedAtMostCount::verify in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ InvokedAtMostCount.php - Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
- InvokedCount::invokedDo in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ InvokedCount.php - InvokedCount::verify in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ InvokedCount.php - Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ InvocationOrder.php, line 28
Class
- InvocationOrder
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\MockObject\RuleCode
public function numberOfInvocations() : int {
return count($this->invocations);
}