### Question:
RestUriUtils { public static boolean hasToken(URI uri) { return !Strings.isNullOrEmpty(uri.getUserInfo()); }  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 testHasToken_withNone() { assertThat(RestUriUtils.hasToken(URI.create("http: }
@Test public void testHasToken_withOne() { assertThat(RestUriUtils.hasToken(URI.create("http: }