spec\Prophecy\Exception\Prediction\UnexpectedCallsCountExceptionSpec::let PHP Метод

let() публичный Метод

public let ( Prophecy\Prophecy\ObjectProphecy $objectProphecy, Prophecy\Prophecy\MethodProphecy $methodProphecy, Prophecy\Call\Call $call1, Prophecy\Call\Call $call2 )
$objectProphecy Prophecy\Prophecy\ObjectProphecy
$methodProphecy Prophecy\Prophecy\MethodProphecy
$call1 Prophecy\Call\Call
$call2 Prophecy\Call\Call
    function let(ObjectProphecy $objectProphecy, MethodProphecy $methodProphecy, Call $call1, Call $call2)
    {
        $methodProphecy->getObjectProphecy()->willReturn($objectProphecy);
        $this->beConstructedWith('message', $methodProphecy, 5, array($call1, $call2));
    }