}
public void testResolveSpringBean() {
MockRequestContext context = new MockRequestContext();
StaticApplicationContext ac = new StaticApplicationContext();
ac.getBeanFactory().registerSingleton("testBean", new TestBean());
ac.getBeanFactory().registerSingleton("action", new TestAction());
ac.getBeanFactory().registerSingleton("multiAction", new FormAction(TestBean.class));
context.getRootFlow().setApplicationContext(ac);
context.getConversationScope().put("foo", "bar");
Expression exp = parser.parseExpression("foo", new FluentParserContext().evaluate(RequestContext.class));