public function setUp() { $this->connection = $this->prophesize(ConnectionInterface::class); $this->client = new \VisionClientStub(); $this->client->setConnection($this->connection->reveal()); }