public function setUp() { $this->factory = $this->prophesize(PayloadFactory::class); $this->payload = $this->prophesize(Payload::class); $this->finder = $this->prophesize(ExecutableFinder::class); }