Lines Matching refs:Prediction
17 use Prophecy\Prediction; alias
218 * @param callable|Prediction\PredictionInterface $prediction
227 $prediction = new Prediction\CallbackPrediction($prediction);
230 if (!$prediction instanceof Prediction\PredictionInterface) {
252 return $this->should(new Prediction\CallPrediction);
264 return $this->should(new Prediction\NoCallsPrediction);
278 return $this->should(new Prediction\CallTimesPrediction($count));
296 * @param callable|Prediction\PredictionInterface $prediction
305 $prediction = new Prediction\CallbackPrediction($prediction);
308 if (!$prediction instanceof Prediction\PredictionInterface) {
345 return $this->shouldHave(new Prediction\CallPrediction);
357 return $this->shouldHave(new Prediction\NoCallsPrediction);
384 return $this->shouldHave(new Prediction\CallTimesPrediction($count));
424 * @return null|Prediction\PredictionInterface
434 * @return Prediction\PredictionInterface[]