/** * Reboot the instance * * @return boolean */ public function reboot() { return $this->adapter->rebootInstance($this->attributes[self::INSTANCE_ID]); }
/** * Test reboot and instance */ public function testRebootInstance() { $this->assertTrue($this->infrastructure->rebootInstance(self::SERVER_ID)); $this->assertTrue($this->infrastructure->isSuccessful()); }