function MethodProphecySpec::it_adds_NoCallsPrediction_during_shouldNotBeCalled_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_NoCallsPrediction_during_shouldNotBeCalled_call()
 
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Prophecy/ MethodProphecySpec.php, line 172  
Class
Namespace
spec\Prophecy\ProphecyCode
function it_adds_NoCallsPrediction_during_shouldNotBeCalled_call($objectProphecy) {
  $objectProphecy
    ->addMethodProphecy($this)
    ->willReturn(null);
  $this
    ->callOnWrappedObject('shouldNotBeCalled', array());
  $this
    ->getPrediction()
    ->shouldBeAnInstanceOf('Prophecy\\Prediction\\NoCallsPrediction');
}