@Test
public void testEnsureMachineisLaunchedAndSessionIsUnlocked() {
ISession cloneMachineSession = machineController.ensureMachineIsLaunched(clonedMachine.getName());
assertTrue(cloneMachineSession.getState() == SessionState.Unlocked);
cloneMachineSession = machineController.ensureMachineHasPowerDown(clonedMachine.getName());
SessionState state = cloneMachineSession.getState();
assertEquals(SessionState.Unlocked, state);
}