IOUtils { public static String getFileHashCode(Path filePath) { return ExceptionUtils.uncheck(() -> hash(filePath.toFile(), Hashing.sha256()).toString()); } private  IOUtils(); static Path checkFile(Path filePath); static String readFile(Path filePath, Charset charset); static String getFileHashCode(Path filePath);  }
@Test(expected = UnsupportedOperationException.class) public void checkGetFileHashCodeThrowsOnVirtualFS() throws Exception { getFileHashCode(temporaryFile); }