RPCProtocol.class, RPCProtocol.versionID, addr, conf);
}
@Test
public void testRPC() {
BooleanMessage bm1 = client.sendAndReceiveMessage(bm0, DESTINATION_VALUE, new BooleanWritable(
MESSAGE_VALUE));
assertEquals(bm0.get(), client.getMessage().get());
assertEquals(bm0.getDestinationVertex(), client.getMessage().getDestinationVertex());
assertEquals(bm1.getDestinationVertex(), DESTINATION_VALUE);
assertEquals(((BooleanWritable) bm1.getMessageValue()).get(), MESSAGE_VALUE);
}