@Test public void testStartWithPauseAndStateless() { setUpWindowsGetEntityExpectations(1, false); setUriInfo(setUpActionExpectations(ActionType.RunVmOnce, RunVmOnceParams.class, new String[] { "VmId", "RunAndPause", "RunAsStateless" }, new Object[] { GUIDS[0], true, Boolean.TRUE })); Action action = new Action(); action.setPause(true); action.setVm(new Vm()); action.getVm().setStateless(true); verifyActionResponse(resource.start(action)); }
to.setPause(from.isPause());