### Question:
UriUtil { public static String stripScheme(String uri) { int protocolIndex = uri.indexOf(DEFAULT_SCHEME_SEPARATOR); if (protocolIndex == -1) { return uri; } return uri.substring(protocolIndex + DEFAULT_SCHEME_SEPARATOR.length()); } private  UriUtil(); static String stripScheme(String uri); static CloudRoute findRoute(List<CloudRoute> routes, String uri); static boolean routeMatchesUri(CloudRoute route, String uri); static final String DEFAULT_SCHEME_SEPARATOR; static final char DEFAULT_PATH_SEPARATOR; static final char DEFAULT_HOST_DOMAIN_SEPARATOR; static final int STANDARD_HTTP_PORT; static final int STANDARD_HTTPS_PORT; static final String HTTP_PROTOCOL; static final String HTTPS_PROTOCOL; }### Answer:
@Test void testStripSchemeWithScheme() { String actual = UriUtil.stripScheme(PORT_BASED_URI); Assertions.assertEquals(PORT_BASED_URI_WITHOUT_SCHEME, actual); }
@Test void testStripSchemeWithoutScheme() { String actual = UriUtil.stripScheme(PORT_BASED_URI_WITHOUT_SCHEME); Assertions.assertEquals(PORT_BASED_URI_WITHOUT_SCHEME, actual); }