assertEquals("1", expected.stringArray[0]);
assertEquals("2", expected.stringArray[1]);
}
public void testEvaluateActionWithResultType() throws Exception {
EvaluateModel evaluateModel = new EvaluateModel("testBean.getIntegers()");
evaluateModel.setResult("flowScope.stringArray");
evaluateModel.setResultType("java.lang.String[]");
model.setOnStartActions(asList(AbstractActionModel.class, evaluateModel));
model.setStates(asList(AbstractStateModel.class, new ViewStateModel("view")));
Flow flow = getFlow(model);
AnnotatedAction action = (AnnotatedAction) flow.getStartActionList().get(0);
MockRequestContext context = new MockRequestContext(flow);