コード例 #1
0
 public function testListsDomains()
 {
     self::log('Listing domains');
     $found = false;
     foreach ($this->client->getIterator('DescribeDomains') as $domain) {
         if ($domain['DomainName'] == self::DOMAIN) {
             $found = true;
             break;
         }
     }
     if (!$found) {
         $this->fail('Did not find the domain ' . self::DOMAIN);
     }
 }