@Test
public void testConvertUriPathCharsFromLink() {

    assertEquals("core-examples",
            UriUtils.convertPathCharsFromLink("///core/examples///"));
    assertEquals("core-examples",
            UriUtils.convertPathCharsFromLink("///core/examples?expand&count=100"));
    assertEquals("core-local-query-tasks",
            UriUtils.convertPathCharsFromLink("///core/local-query-tasks"));
    assertEquals(null,
            UriUtils.convertPathCharsFromLink("@*#(@&@#"));
}