@Test(expected = IllegalArgumentException.class) public void testEscape_Null() { assertNull(JsUtils.escape(null)); }
public static String escape(String param) { if (param == null) { throw new IllegalArgumentException("Null param"); } return "\"" + param + "\""; }
JsUtils { public static String escape(String param) { if (param == null) { throw new IllegalArgumentException("Null param"); } return "\"" + param + "\""; } }
JsUtils { public static String escape(String param) { if (param == null) { throw new IllegalArgumentException("Null param"); } return "\"" + param + "\""; }  }
JsUtils { public static String escape(String param) { if (param == null) { throw new IllegalArgumentException("Null param"); } return "\"" + param + "\""; }  static String escape(String param); static String escapeArray(Collection<T> col); static String escapeStrArray(Collection<String> col); static String escapeArray(Collection<T> col, ObjPrinter<T> printer); }
JsUtils { public static String escape(String param) { if (param == null) { throw new IllegalArgumentException("Null param"); } return "\"" + param + "\""; }  static String escape(String param); static String escapeArray(Collection<T> col); static String escapeStrArray(Collection<String> col); static String escapeArray(Collection<T> col, ObjPrinter<T> printer);  }