|
file-fetcher
|
Prediction interface. Predictions are logical test blocks, tied to should... keyword.
Public Member Functions | |
| __construct ($times, StringUtil $util=null) | |
| check (array $calls, ObjectProphecy $object, MethodProphecy $method) | |
| Prophecy\Prediction\CallTimesPrediction::__construct | ( | $times, | |
| StringUtil | $util = null |
||
| ) |
Initializes prediction.
| int | $times | |
| StringUtil | $util |
| Prophecy\Prediction\CallTimesPrediction::check | ( | array | $calls, |
| ObjectProphecy | $object, | ||
| MethodProphecy | $method | ||
| ) |
Tests that there was exact amount of calls made.
| Call[] | $calls | |
| ObjectProphecy | $object | |
| MethodProphecy | $method |
Implements Prophecy\Prediction\PredictionInterface.
1.8.17