@Test
public void testCleanUrlWithMatchingHostAndPart() throws IOException {

  URI uri = RibbonClient.cleanUrl("http://questions/questions/answer/123", "questions");
  assertEquals("http:///questions/answer/123", uri.toString());
}