BytesStreamInput streamInput = new BytesStreamInput(streamOutput.bytes());
DistributedResultRequest requestReceiver = new DistributedResultRequest(contextManager);
requestReceiver.readFrom(streamInput);
assertFalse(requestReceiver.rowsRead());
assertNotNull(requestReceiver.memoryStream());
assertTrue(requestReceiver.memoryStream().size() > 0);
contextManager.addToContext(requestReceiver);
final SettableFuture<Object[][]> result = SettableFuture.create();