Assert.assertEquals(request.toString(), request);
return response;
}
});
FutureDirect fd = peers[42].sendDirect(unreachablePeer.peerAddress()).object(request).start()
.awaitUninterruptibly();
Assert.assertEquals(response, fd.object());
// make sure we did receive it from the unreachable peer with id
Assert.assertEquals(unreachablePeer.peerID(), fd.wrappedFuture().responseMessage().sender().peerId());