You are here

function UnexpectedCallsExceptionSpec::let in Zircon Profile 8

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

Parameters

\Prophecy\Prophecy\ObjectProphecy $objectProphecy:

\Prophecy\Prophecy\MethodProphecy $methodProphecy:

\Prophecy\Call\Call $call1:

\Prophecy\Call\Call $call2:

File

vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/UnexpectedCallsExceptionSpec.php, line 15

Class

UnexpectedCallsExceptionSpec

Namespace

spec\Prophecy\Exception\Prediction

Code

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