Use expression parser of mapper instead of creating a new one.

This commit is contained in:
Erwin Vervaet
2007-03-30 10:20:23 +00:00
parent 901eba3907
commit 37de3de56f

View File

@@ -17,7 +17,6 @@ package org.springframework.webflow.engine.support;
import junit.framework.TestCase;
import org.springframework.binding.expression.support.OgnlExpressionParser;
import org.springframework.binding.mapping.Mapping;
import org.springframework.binding.mapping.MappingBuilder;
import org.springframework.webflow.action.FormAction;
@@ -48,7 +47,7 @@ public class ConfigurableFlowAttributeMapperTests extends TestCase {
protected void setUp() throws Exception {
mapper = new ConfigurableFlowAttributeMapper();
mapping = new MappingBuilder(new OgnlExpressionParser());
mapping = new MappingBuilder(mapper.getExpressionParser());
context = new MockRequestContext();
parentSession = new MockFlowSession();
subflowSession = new MockFlowSession();