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

lean dataTested = false;
 (File file : AllCoreTest.getFilesFromResourceDir(AllCoreTest.TEST_DATA_ROOT)) {
 byte[] apacheBytes = DigestUtils.md5(new FileInputStream(file));
 byte[] testBytes = DigestUtilities.hexStringToByteArray(DigestUtils.md5Hex(new FileInputStream(file)));
 
 assertArrayEquals("apacheBytes and testBytes should be equal", apacheBytes, testBytes);
 dataTested = true;
ertTrue("No data tested as flag no set", dataTested);
}