### Question:
URLUtils { public static String removeDoubleSlashes(String url) { return PATTERN_DOUBLE_SLASHES.matcher(url).replaceAll("/"); }  static Map<String, List<String>> parseQueryString(URI uri); static Map<String, List<String>> parseQueryString(String queryString); static String removeDoubleSlashes(String url);  }### Answer:
@Test public void removeDoubleSlashes() throws Exception { String expected = "template/path"; String actual = URLUtils.removeDoubleSlashes("template Assert.assertEquals(expected, actual); }