Пример #1
0
 public function testListStacksCommandAndIterator()
 {
     self::log('Execute a ListJobs command and iterator and verify that the results are the same.');
     $commandResults = $this->client->listStacks()->toArray();
     $this->assertArrayHasKey('StackSummaries', $commandResults);
     $iteratorResults = $this->client->getIterator('ListStacks')->toArray();
     $this->assertEquals($commandResults['StackSummaries'], $iteratorResults);
 }