// send message
assertTrue(nodeA.getMessageManager().send(message, getPublicKey(nodeB)));
// wait till message gets handled
// this might need some time
H2HWaiter w = new H2HWaiter(10);
FutureGet futureGet = null;
do {
w.tickASecond();
futureGet = nodeB.getDataManager().getUnblocked(
new Parameters().setLocationKey(nodeB.getNodeId()).setContentKey(contentKey));
futureGet.awaitUninterruptibly();
} while (futureGet.getData() == null);