@Test
public void testNormalizeURLLink_RemoveDots() throws Exception {

    /* Removing dot-segments. The segments “..” and “.” can be removed from a URL according to the algorithm described in RFC 3986 (or a similar algorithm).
        http://www.example.com/../a/b/../c/./d.html → http://www.example.com/a/c/d.html
    However, if a removed ".." component, e.g. "b/..", is a symlink to a directory with a different parent, eliding "b/.." will result in a different path and URL. */
    final String inLink = "http://www.example.com/../a/b/../c/./d.html";
    final String outLink = "http://www.example.com/a/b/c/d.html";
    assertEquals("Removing dot-segments failed", outLink, WebContentTools.normalizeURLLink(inLink));
}