@Test
public void testByteDigestToHexString() throws URISyntaxException, FileNotFoundException, IOException {

lean dataTested = false;
 (File file : AllCoreTest.getFilesFromResourceDir(AllCoreTest.TEST_DATA_ROOT)) {
 String apacheHex = DigestUtils.md5Hex(new FileInputStream(file));
 String testHexVal = DigestUtilities.byteDigestToHexString(DigestUtils.md5(new FileInputStream(file)));
 assertEquals("apacheHex and testHextVal should be equal", apacheHex, testHexVal);
 dataTested = true;
ertTrue("No data tested as flag no set", dataTested);
}