public void cannotRebootStoppedInstance() throws DeltaCloudClientException, InterruptedException,
ExecutionException {
Instance testInstance = testSetup.getTestInstance();
DeltaCloudClient client = testSetup.getClient();
try {
testInstance.stop(client);
testInstance = client.listInstances(testInstance.getId()); // reload
assertTrue(testInstance.getState() == State.STOPPED);
assertFalse(testInstance.reboot(client));
} finally {
testInstance.start(client);