source: class DigestUtilitiesTest {
  
      @Test
      public void testHexStringToByteArray() throws URISyntaxException, FileNotFoundException, IOException {
  
target: 	boolean dataTested = false;
  	for (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;
  	}
  	assertTrue("No data tested as flag no set", dataTested);
      }
  
  }