You are here

function UnexpectedCallsCountExceptionSpec::let in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/UnexpectedCallsCountExceptionSpec.php \spec\Prophecy\Exception\Prediction\UnexpectedCallsCountExceptionSpec::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/UnexpectedCallsCountExceptionSpec.php, line 15

Class

UnexpectedCallsCountExceptionSpec

Namespace

spec\Prophecy\Exception\Prediction

Code

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