public void testIds() throws Exception
{
FilterParserTest.log.trace("parse(a + b * c / d = e)");
Operator result = (Operator)parser.parse(new SimpleString("a + b * c / d = e"), identifierMap);
// 4 + 2 * 3 / 2 = 7
Identifier a = identifierMap.get(new SimpleString("a"));
a.setValue(new Long(4));
Identifier b = identifierMap.get(new SimpleString("b"));
b.setValue(new Long(2));
Identifier c = identifierMap.get(new SimpleString("c"));
c.setValue(new Long(3));
Identifier d = identifierMap.get(new SimpleString("d"));
d.setValue(new Long(2));
Identifier e = identifierMap.get(new SimpleString("e"));
e.setValue(new Long(7));
FilterParserTest.log.trace("result -> " + result);
Boolean bool = (Boolean)result.apply();
Assert.assertTrue("is true", bool.booleanValue());
}