@Test
public void testRemoveTrailingSlashes() {

    String s = "/ciao/this/has/trailings/////";
    String expResult = "/ciao/this/has/trailings";
    String result = URLUtils.removeTrailingSlashes(s);
    assertEquals(expResult, result);
}