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