file-fetcher
|
Public Member Functions | |
apply (BaseInvocation $invocation) | |
verify () | |
![]() | |
toString () | |
PHPUnit\Framework\MockObject\Rule\ParametersRule::apply | ( | BaseInvocation | $invocation | ) |
ExpectationFailedException | if the invocation violates the rule |
Implemented in PHPUnit\Framework\MockObject\Rule\Parameters, PHPUnit\Framework\MockObject\Rule\ConsecutiveParameters, and PHPUnit\Framework\MockObject\Rule\AnyParameters.
PHPUnit\Framework\MockObject\Rule\ParametersRule::verify | ( | ) |
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
ExpectationFailedException |
Implements PHPUnit\Framework\MockObject\Verifiable.
Implemented in PHPUnit\Framework\MockObject\Rule\Parameters, PHPUnit\Framework\MockObject\Rule\ConsecutiveParameters, and PHPUnit\Framework\MockObject\Rule\AnyParameters.