Méthode |
Description |
|
__construct ( Eloquent\Phony\Spy\Spy | Eloquent\Phony\Call\Call $subject, array $calls, MatcherFactory $matcherFactory, CallVerifierFactory $callVerifierFactory, Eloquent\Phony\Assertion\AssertionRecorder $assertionRecorder, AssertionRenderer $assertionRenderer ) |
Construct a new iterable verifier. |
|
checkConsumed ( ) : Eloquent\Phony\Event\EventCollection | null |
Checks if the subject was completely consumed. |
|
checkProduced ( mixed $keyOrValue = null, mixed $value = null ) : Eloquent\Phony\Event\EventCollection | null |
Checks if the subject produced the supplied values. |
|
checkUsed ( ) : Eloquent\Phony\Event\EventCollection | null |
Checks if iteration of the subject commenced. |
|
consumed ( ) : Eloquent\Phony\Event\EventCollection |
Throws an exception unless the subject was completely consumed. |
|
produced ( mixed $keyOrValue = null, mixed $value = null ) : Eloquent\Phony\Event\EventCollection |
Throws an exception unless the subject produced the supplied values. |
|
used ( ) : Eloquent\Phony\Event\EventCollection |
Throws an exception unless iteration of the subject commenced. |
|