@Test public void testGetSanitizedPath() { new Expectations() {{ uriInfo.getAbsolutePath(); result = URI.create("http: }}; URI result = getSanitizedPath(uriInfo); Assert.assertEquals("http: }
public static URI getSanitizedPath(UriInfo uriInfo) { return appendTrailingSlash(uriInfo.getAbsolutePath()); }
HttpUtils { public static URI getSanitizedPath(UriInfo uriInfo) { return appendTrailingSlash(uriInfo.getAbsolutePath()); } }
HttpUtils { public static URI getSanitizedPath(UriInfo uriInfo) { return appendTrailingSlash(uriInfo.getAbsolutePath()); } private  HttpUtils(); }
HttpUtils { public static URI getSanitizedPath(UriInfo uriInfo) { return appendTrailingSlash(uriInfo.getAbsolutePath()); } private  HttpUtils(); static String readUrl(URL url, String charsetName); static URI appendTrailingSlash(URI uri); static URI getSanitizedPath(UriInfo uriInfo); static URI getDirectoryURI(UriInfo uriInfo); }
HttpUtils { public static URI getSanitizedPath(UriInfo uriInfo) { return appendTrailingSlash(uriInfo.getAbsolutePath()); } private  HttpUtils(); static String readUrl(URL url, String charsetName); static URI appendTrailingSlash(URI uri); static URI getSanitizedPath(UriInfo uriInfo); static URI getDirectoryURI(UriInfo uriInfo);  }