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