Example #1
0
 /**
  * Destroy the instance
  * 
  * @return boolean 
  */
 public function destroy()
 {
     return $this->adapter->destroyInstance($this->attributes[self::INSTANCE_ID]);
 }
Example #2
0
 /**
  * Test destroy instance
  */
 public function testDestroyInstance()
 {
     $this->assertTrue($this->infrastructure->destroyInstance(self::$instanceId));
 }