@Override public void destroyRuntime(String runtimeId, boolean forced) throws BusinessException { runtimeProvisioningService.destroyRuntime(runtimeId, forced); }
@Test public void testDestroyRuntimeForced() { runtimeProvisioningServiceBackend.destroyRuntime(RUNTIME_ID, true); verify(runtimeProvisioningService, times(1)).destroyRuntime(RUNTIME_ID, true); }
@Test public void testDestroyRuntimeNotForced() { runtimeProvisioningServiceBackend.destroyRuntime(RUNTIME_ID, false); verify(runtimeProvisioningService, times(1)).destroyRuntime(RUNTIME_ID, false); }
queryResult.getItems().get(0).getRuntimeStatus()); runtimeService.destroyRuntime(newRuntime, true);
allRuntimes.getItems().size()); runtimeService.destroyRuntime(allRuntimes.getItems().get(0).getId(), true);