getRootRouter().retrieveItem(new ResourceStoreRequest("/groups/test" + mdPath + ".sha1", false));
String md5Hash = contentAsString(md5Item);
String sha1Hash = contentAsString(sha1Item);
Md5Digester md5Digester = new Md5Digester();
md5Digester.verify(mdFile, md5Hash);
Sha1Digester sha1Digester = new Sha1Digester();
sha1Digester.verify(mdFile, sha1Hash);
}
finally {
mdFile.delete();