@Test
public void testFileMd5SumNotEquals_NotExistingFile() throws Exception {

    Path path1 = Paths.get(FileDigestUtilTest.class.getResource("file1.txt").toURI());
    Path path2 = Paths.get("doesnotexist.txt");
    byte[] digest1 = fileDigestUtil.getFileMd5Sum(path1);
    byte[] digest2 = fileDigestUtil.getFileMd5Sum(path2);
    assertFalse(Arrays.equals(digest1, digest2));
}