Assert.assertEquals(PutStatus.OK, store);
DigestInfo digest = storage.digest(new Number640(locationKey, domainKey, content1,
Number160.ZERO), new Number640(locationKey, domainKey, content1, Number160.MAX_VALUE), -1,
true);
Assert.assertEquals(1, digest.size());
Assert.assertEquals(key1, digest.digests().firstEntry().getKey());
}
@Test
public void testPutIfAbsent() throws Exception {
Storage storageM = createStorage();