Example #1
0
 /**
  * Test destroy instance
  */
 public function testDestroyInstance()
 {
     $this->assertTrue(self::$infrastructure->WaitStatusInstance(self::$instanceId, Instance::STATUS_RUNNING));
     $this->assertTrue(self::$infrastructure->destroyInstance(self::$instanceId));
 }
Example #2
0
 /**
  * Test destroy instance
  */
 public function testDestroyInstance()
 {
     $this->assertTrue($this->infrastructure->destroyInstance(self::SERVER_ID));
     $this->assertTrue($this->infrastructure->isSuccessful());
 }
Example #3
0
 /**
  * Test destroy instance
  */
 public function testDestroyInstance()
 {
     $this->assertTrue(self::$infrastructure->destroyInstance(self::$instanceId));
 }