public function MethodProphecy::shouldNotBeCalled in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php \Prophecy\Prophecy\MethodProphecy::shouldNotBeCalled()
Sets no calls prediction to the prophecy.
Return value
$this
See also
Prophecy\Prediction\NoCallsPrediction
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ MethodProphecy.php, line 243
Class
- MethodProphecy
- Method prophecy.
Namespace
Prophecy\ProphecyCode
public function shouldNotBeCalled() {
return $this
->should(new Prediction\NoCallsPrediction());
}