public function testListJobsCommandAndIterator() { $commandResults = $this->client->listJobs()->toArray(); $this->assertArrayHasKey('Jobs', $commandResults); $iteratorResults = $this->client->getIterator('ListJobs')->toArray(); $this->assertEquals($commandResults['Jobs'], $iteratorResults); }
/** * @return \Guzzle\Service\Resource\Model */ public function listJobs() { return $this->_client->listJobs(); }