public void testGetFlowExecutorOptionsSpecified() throws Exception {
factoryBean.setFlowDefinitionLocator(new FlowDefinitionLocator() {
public FlowDefinition getFlowDefinition(String id) throws NoSuchFlowDefinitionException,
FlowDefinitionConstructionException {
Flow flow = new Flow(id);
ViewState view = new ViewState(flow, "view", new StubViewFactory());
view.getTransitionSet().add(new Transition(new DefaultTargetStateResolver("end")));
new EndState(flow, "end");
return flow;
}
});