public void testEmpty() throws Exception {
  Map<String,Method> functions=Collections.emptyMap();
  ParseException expected=expectThrows(ParseException.class,null);
  assertEquals("Invalid expression 'sqrt(20)': Unrecognized function call (sqrt).",expected.getMessage());
  assertEquals(expected.getErrorOffset(),0);
}

public void testEmpty ( ) throws Exception { Map < String , Method > functions = Collections . emptyMap ( ) ; ParseException expected = expectThrows ( ParseException . class , null ) ; assertEquals ( "Invalid expression 'sqrt(20)': Unrecognized function call (sqrt)." , expected . getMessage ( ) ) ; assertEquals ( expected . getErrorOffset ( ) , 0 ) ; }
empty list of methods
