public function testDoesExistTrue() { $this->connection->getJob(Argument::any())->willReturn(['jobReference' => ['jobId' => $this->jobId]])->shouldBeCalledTimes(1); $job = $this->getJob($this->connection); $this->assertTrue($job->exists()); }