### Question:
PathUtil { public static boolean isFile(URI path) { return !path.toString().endsWith("/"); } private  PathUtil(); static String getRelativePath(Path sourceRootPath, Path childPath); static String toString(Path path); static String toBucketName(URI uri); static String toBucketKey(URI uri); static boolean isFile(URI path);  }### Answer:
@Test public void isFile() { assertThat(PathUtil.isFile(URI.create("s3: assertThat(PathUtil.isFile(URI.create("s3: }
@Test public void isDirectory() { assertThat(PathUtil.isFile(URI.create("s3: }