function PredictionInterface::check
Tests that double fulfilled prediction.
Parameters
Call[] $calls:
ObjectProphecy<object> $object:
MethodProphecy $method:
Return value
void
Throws
4 methods override PredictionInterface::check()
- CallbackPrediction::check in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prediction/ CallbackPrediction.php - Tests that double fulfilled prediction.
- CallPrediction::check in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prediction/ CallPrediction.php - Tests that double fulfilled prediction.
- CallTimesPrediction::check in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prediction/ CallTimesPrediction.php - Tests that double fulfilled prediction.
- NoCallsPrediction::check in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prediction/ NoCallsPrediction.php - Tests that double fulfilled prediction.
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Prediction/ PredictionInterface.php, line 37
Class
- PredictionInterface
- Prediction interface. Predictions are logical test blocks, tied to `should...` keyword.
Namespace
Prophecy\PredictionCode
public function check(array $calls, ObjectProphecy $object, MethodProphecy $method);