function MethodProphecySpec::it_adds_CallPrediction_during_shouldBeCalled_call in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Prophecy/MethodProphecySpec.php \spec\Prophecy\Prophecy\MethodProphecySpec::it_adds_CallPrediction_during_shouldBeCalled_call()
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Prophecy/ MethodProphecySpec.php, line 164
Class
Namespace
spec\Prophecy\ProphecyCode
function it_adds_CallPrediction_during_shouldBeCalled_call($objectProphecy) {
$objectProphecy
->addMethodProphecy($this)
->willReturn(null);
$this
->callOnWrappedObject('shouldBeCalled', array());
$this
->getPrediction()
->shouldBeAnInstanceOf('Prophecy\\Prediction\\CallPrediction');
}