function let(ObjectProphecy $objectProphecy, \ReflectionClass $reflection) { $objectProphecy->reveal()->willReturn($reflection); $this->beConstructedWith($objectProphecy, 'getName', null); }