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