|
file-fetcher
|
Prediction interface. Predictions are logical test blocks, tied to should... keyword.
Public Member Functions | |
| check (array $calls, ObjectProphecy $object, MethodProphecy $method) | |
| Prophecy\Prediction\PredictionInterface::check | ( | array | $calls, |
| ObjectProphecy | $object, | ||
| MethodProphecy | $method | ||
| ) |
Tests that double fulfilled prediction.
| Call[] | $calls | |
| ObjectProphecy | $object | |
| MethodProphecy | $method |
| object |
Implemented in Prophecy\Prediction\CallbackPrediction, Prophecy\Prediction\CallTimesPrediction, Prophecy\Prediction\CallPrediction, and Prophecy\Prediction\NoCallsPrediction.
1.8.17