### Question:
RestUriUtils { public static URI removeToken(URI uri) { checkNotNull(uri); return URI.create(uri.toString().replaceFirst(" }  static boolean isV1Uri(URI uri); static boolean hasToken(URI uri); static URI removeToken(URI uri); static String generateSecret(String secret); static List<String> splitIntoMultipleUris(String combinedUris);  }### Answer:
@Test public void testRemoveToken_withToken() { assertThat(RestUriUtils.removeToken(URI.create("http: is(URI.create("http: }
@Test public void testRemoveToken_withoutToken() { assertThat(RestUriUtils.removeToken(URI.create("http: is(URI.create("http: }