FlowExecutionImplFactory executionFactory = new FlowExecutionImplFactory();
protected void setUp() throws Exception {
flow = new Flow("myFlow");
ViewState s1 = new ViewState(flow, "state", new StubViewFactory());
s1.getTransitionSet().add(new Transition(new DefaultTargetStateResolver("state2")));
new ViewState(flow, "state2", new StubViewFactory());
conversationManager = new StubConversationManager();
FlowDefinitionLocator locator = new FlowDefinitionLocator() {
public FlowDefinition getFlowDefinition(String flowId) throws NoSuchFlowDefinitionException,