### Question:
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);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testEscape_Null() { assertNull(JsUtils.escape(null)); }
@Test public void testEscape() { assertEquals("\"test value to escape .... ;)'\"", JsUtils.escape("test value to escape .... ;)'")); }