@Test
public void testNormalizeURLLink_removeSlashes() throws Exception {

    /* Removing duplicate slashes Paths which include two adjacent slashes could be converted to one.
        http://www.example.com/foo//bar.html → http://www.example.com/foo/bar.html */
    final String inLink = "http://www.example.com/foo//bar.html";
    final String outLink = "http://www.example.com/foo/bar.html";
    assertEquals("Removing duplicate slashes failed", outLink, WebContentTools.normalizeURLLink(inLink));
}