### Question:
Expedition { public static URI createWellKnownUri(URI uri) { URI wellKnownUri = uri; if (!uri.getPath().endsWith(WELL_KNOWN_PATH)) { wellKnownUri = uri.resolve(WELL_KNOWN_PATH); } return wellKnownUri; } Expedition(CloseableHttpClient httpClient, ResourceSyncContext rsContext); static URI createWellKnownUri(URI uri); static URI createRobotsUri(URI uri); List<ResultIndex> explore(String url, String authString); ResultIndex exploreAndMerge(String url, String authString);  }### Answer:
@Test public void createWellknownUri() throws Exception { String[][] expectations = { { "http: { "http: { "http: { "http: { "http: { "http: { "http: }; for (String[] expect : expectations) { URI uri = URI.create(expect[0]); URI wk = Expedition.createWellKnownUri(uri); assertThat(wk, equalTo(URI.create(expect[1]))); } }