spec\Prophecy\ProphetSpec::let PHP 메소드

let() 공개 메소드

public let ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
$doubler Prophecy\Doubler\Doubler
$double Prophecy\Prophecy\ProphecySubjectInterface
    function let(Doubler $doubler, ProphecySubjectInterface $double)
    {
        $doubler->double(null, array())->willReturn($double);
        $this->beConstructedWith($doubler);
    }