function it_reveals_single_instance_of_ProphecyInterface(ProphecyInterface $prophecy, \stdClass $object) { $prophecy->reveal()->willReturn($object); $this->reveal($prophecy)->shouldReturn($object); }