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