assertEquals(data1.getTestString(), ((H2HTestData) futureGet.getData().object()).getTestString());
// try to remove without protection keys
Parameters parameters2 = new Parameters().setLocationKey(locationKey).setDomainKey(domainKey)
.setContentKey(contentKey);
FutureRemove futureRemove = node.getDataManager().removeUnblocked(parameters2);
futureRemove.awaitUninterruptibly();
// should have been not changed
futureGet = node.getDataManager().getUnblocked(parameters2);
futureGet.awaitUninterruptibly();
assertEquals(data1.getTestString(), ((H2HTestData) futureGet.getData().object()).getTestString());
// try to remove with wrong protection keys
Parameters parameters3 = new Parameters().setLocationKey(locationKey).setDomainKey(domainKey)
.setContentKey(contentKey).setProtectionKeys(protectionKey2);
futureRemove = node.getDataManager().removeUnblocked(parameters3);
futureRemove.awaitUninterruptibly();
// should have been not changed
futureGet = node.getDataManager().getUnblocked(parameters2);
futureGet.awaitUninterruptibly();
assertEquals(data1.getTestString(), ((H2HTestData) futureGet.getData().object()).getTestString());
// remove with correct protection keys
futureRemove = node.getDataManager().removeUnblocked(parameters1);
futureRemove.awaitUninterruptibly();
// should have been removed
futureGet = node.getDataManager().getUnblocked(parameters2);
futureGet.awaitUninterruptibly();
assertNull(futureGet.getData());