@Test
public void testMap() throws Exception {

    Condition condition = new Condition();
    condition.setExpression(new BinaryExpression(Operator.LESS_THAN, new MapFieldExpression(getVariable("map"), "foo"),
                                                 getVariable("b")));
    GroovyExpression expr = new GroovyExpression(condition);
    Assert.assertEquals("map['foo'] < b", expr.asString());
}