### Question:
ELConstantsFunctions { public static String urlEncode(String input) { final String encoding = StandardCharsets.UTF_8.name(); try { return (input == null) ? "" : URLEncoder.encode(input, encoding); } catch (UnsupportedEncodingException uee) { throw new RuntimeException(encoding + " encoding is not supported", uee); } }  static Object firstNotNull(Object o1, Object o2); static String concat(String s1, String s2); static String replaceAll(String src, String regex, String replacement); static String appendAll(String src, String append, String delimeter); static String trim(String input); static String timestamp(); static String urlEncode(String input); static String toJsonStr(Map<String, String> map); static String toPropertiesStr(Map<String, String> map); static String toConfigurationStr(Map<String, String> map); static final long KB; static final long MB; static final long GB; static final long TB; static final long PB; static final int SUBMIT_MINUTES; static final int SUBMIT_HOURS; static final int SUBMIT_DAYS; }### Answer:
@Test public void testUrlEncode() { assertEquals("+", ELConstantsFunctions.urlEncode(" ")); assertEquals("%25", ELConstantsFunctions.urlEncode("%")); }