public function testGetsInfoWithRealod() { $this->connection->getJob(Argument::any())->willReturn($this->jobInfo)->shouldBeCalledTimes(1); $job = $this->getJob($this->connection); $this->assertEquals($this->jobInfo, $job->info()); }