{
JexlContext jc = JexlHelper.createContext();
jc.getVars().put("aString", "Hello");
Foo foo = new Foo();
jc.getVars().put("foo", foo);
Parser parser = new Parser(new StringReader(";"));
parser.parse(new StringReader("aString = 'World';"));
assertExpression(jc, "hello = 'world'", "world");
assertEquals("hello variable not changed", "world", jc.getVars().get("hello"));
assertExpression(jc, "result = 1 + 1", new Long(2));
assertEquals("result variable not changed", new Long(2), jc.getVars().get("result"));