public function testGetsJobsWithNoResults()
{
$this->connection->listJobs(Argument::any())->willReturn([])->shouldBeCalledTimes(1);
$this->client->setConnection($this->connection->reveal());
$jobs = iterator_to_array($this->client->jobs());
$this->assertEmpty($jobs);
}