You are here

function NoCallsExceptionSpec::let in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php \spec\Prophecy\Exception\Prediction\NoCallsExceptionSpec::let()

Parameters

\Prophecy\Prophecy\ObjectProphecy $objectProphecy:

\Prophecy\Prophecy\MethodProphecy $methodProphecy:

File

vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/NoCallsExceptionSpec.php, line 13

Class

NoCallsExceptionSpec

Namespace

spec\Prophecy\Exception\Prediction

Code

function let($objectProphecy, $methodProphecy) {
  $methodProphecy
    ->getObjectProphecy()
    ->willReturn($objectProphecy);
  $this
    ->beConstructedWith('message', $methodProphecy);
}