◆ verify()
PHPUnit\Framework\MockObject\Verifiable::verify |
( |
| ) |
|
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
- Exceptions
-
Implemented in PHPUnit\Framework\MockObject\Rule\Parameters, PHPUnit\Framework\MockObject\Rule\ConsecutiveParameters, PHPUnit\Framework\MockObject\Rule\InvokedAtIndex, PHPUnit\Framework\MockObject\Rule\InvokedCount, PHPUnit\Framework\MockObject\Rule\InvokedAtLeastCount, PHPUnit\Framework\MockObject\Rule\InvokedAtMostCount, PHPUnit\Framework\MockObject\Rule\InvokedAtLeastOnce, PHPUnit\Framework\MockObject\Rule\AnyParameters, PHPUnit\Framework\MockObject\Rule\AnyInvokedCount, and PHPUnit\Framework\MockObject\Rule\ParametersRule.
The documentation for this interface was generated from the following file: