@Test
public void normalizationURLTest() throws Exception {

    Assert.assertEquals("http://www.example.com", new URL(UrlUtil.normalize("http://www.example.com")).toExternalForm());
    Assert.assertEquals("http://www.example.com", new URL(UrlUtil.normalize("http://www.example.com/")).toExternalForm());
    Assert.assertEquals("http://www.example.com", new URL(UrlUtil.normalize("http://www.example.com//////")).toExternalForm());
}