DateFunctions { private static String getCurrentDate(@Nullable String format) { DateFormat formatter = getFormatter(format); return formatter.format(new Date()); }  static boolean isValid(String[] values); static String executeFunction(String[] values);  }
@Test public void testGetCurrentDate() { String command = "#function.date.currentDate.MM-dd-yyyy"; String date = FunctionHandler.executeFunction(command, variables); assertNotNull(date); }