Exemple #1
0
 public function testGetContainers()
 {
     $containers = $this->rackspace->getContainers();
     $this->assertTrue($containers !== false);
     $found = false;
     foreach ($containers as $container) {
         if ($container->getName() == TESTS_ZEND_SERVICE_RACKSPACE_CONTAINER_NAME) {
             $found = true;
             break;
         }
     }
     $this->assertTrue($found);
 }
 public function testGetContainers()
 {
     $containers = $this->rackspace->getContainers();
     $this->assertTrue($containers !== false);
     $found = false;
     foreach ($containers as $container) {
         if ($container->getName() == 'zf-unit-test') {
             $found = true;
             break;
         }
     }
     $this->assertTrue($found);
 }