### Question:
PathUtils { public static HashCode sha256(final Path file) throws IOException { return MoreFiles.asByteSource(file).hash(Hashing.sha256()); } private  PathUtils(); static HashCode sha256(final Path file); static void syncRecursive(final Path source, final Path target); static void removeRecursive(final Path path);  }### Answer:
@Test public void testSha256() throws Exception { final Path file = fs.getPath("/", "file"); Files.write(file, new byte[] {0x00, 0x01, 0x02}); final HashCode hashCode = PathUtils.sha256(file); assertThat( hashCode.toString(), is("ae4b3280e56e2faf83f414a6e3dabe9d5fbe18976544c05fed121accb85b53fc")); }