function MethodProphecy::shouldBeCalledTimes
Sets call times prediction to the prophecy.
Parameters
int $count:
Return value
$this
See also
\Prophecy\Prediction\CallTimesPrediction
1 call to MethodProphecy::shouldBeCalledTimes()
- MethodProphecy::shouldBeCalledOnce in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ MethodProphecy.php - Sets call times prediction to the prophecy.
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ MethodProphecy.php, line 393
Class
- MethodProphecy
- Method prophecy.
Namespace
Prophecy\ProphecyCode
public function shouldBeCalledTimes($count) {
return $this->should(new Prediction\CallTimesPrediction($count));
}