### Question:
UriUtil { public static boolean routeMatchesUri(CloudRoute route, String uri) { ApplicationURI appUriFromRoute = new ApplicationURI(route); ApplicationURI appUriFromString = new ApplicationURI(uri); return appUriFromRoute.equals(appUriFromString); } 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 testRouteMatchesWithHostBasedUriWithPort() { boolean actualResult = UriUtil.routeMatchesUri(route, HOST_BASED_URI_WITH_PORT); Assertions.assertFalse(actualResult); }
@Test void testRouteMatchesWithHostBasedUriWithoutPort() { boolean actualResult = UriUtil.routeMatchesUri(route, HOST_BASED_URI_WITHOUT_PORT); Assertions.assertTrue(actualResult); }
@Test void testRouteMatchesWithPortBasedUri() { boolean actualResult = UriUtil.routeMatchesUri(route, PORT_BASED_URI); Assertions.assertFalse(actualResult); }