assertTrue("flow should not be stopped", !flow.isStopped()); assertTrue("flow should not have failed", !flow.isFailed()); assertEquals("Transition", Transitions.Initialised, flow.getState().get());  flow.start(); assertEquals("Transition", Transitions.Started, flow.getState().get());
startFlow(flow, timeout);
    protected void setUp() throws Exception {        timer.schedule(flow.getTimeoutTask(), timeout);                assertTrue("flow should not be stopped", !flow.isStopped());        assertTrue("flow should not have failed", !flow.isFailed());        assertEquals("Transition", Transitions.Initialised, flow.getState().get());                flow.start();        assertEquals("Transition", Transitions.Started, flow.getState().get());    }