expression parser simplifications

This commit is contained in:
Keith Donald
2008-01-18 07:00:40 +00:00
parent bc5adf803f
commit 87bb511460
5 changed files with 15 additions and 12 deletions

View File

@@ -50,7 +50,7 @@ public class ELExpressionParserTests extends TestCase {
public void testParseEvalExpressionWithContextCustomTestBeanResolver() {
String expressionString = "#{specialProperty}";
Expression exp = parser.parseExpression(expressionString, new ParserContextImpl().context(TestBean.class));
Expression exp = parser.parseExpression(expressionString, new ParserContextImpl().eval(TestBean.class));
assertEquals("Custom resolver resolved this special property!", exp.getValue(new TestBean()));
}