@Test
public void castMaps() {

    final TypedExpression left = expr(THIS_PLACEHOLDER + ".getAge()", Integer.class);
    final TypedExpression right = expr("$m.get(\"age\")", java.util.Map.class);
    final CoercedExpression.CoercedExpressionResult coerce = new CoercedExpression(left, right, false).coerce();
    assertEquals(expr("(java.lang.Integer)$m.get(\"age\")", Map.class), coerce.getCoercedRight());
}