assertTrue(StorageFileItem.class.isAssignableFrom(item.getClass()));
// save it
String sha1hash = contentAsString(item);
Md5Digester md5Digester = new Md5Digester();
md5Digester.verify(mdmFile, md5hash);
Sha1Digester sha1Digester = new Sha1Digester();
sha1Digester.verify(mdmFile, sha1hash);
}
finally {
mdmFile.delete();