@Test
public void testLiteralDefaultValue() {

    System.out.println("   literal default value");
    int defaultValue = 42;
    Object result = ff.function("env", ff.literal("doesnotexist"), ff.literal(defaultValue)).evaluate(null);
    int value = ((Number) result).intValue();
    assertEquals(defaultValue, value);
}