RPCProtocol.class, RPCProtocol.versionID, addr, conf);
}
@Test
public void testRPC() {
LongMessage lm1 = client.sendAndReceiveMessage(lm0, DESTINATION_VALUE, new LongWritable(
MESSAGE_VALUE));
assertTrue(lm0.get() == client.getMessage().get());
assertEquals(lm0.getDestinationVertex(), client.getMessage().getDestinationVertex());
assertEquals(lm1.getDestinationVertex(), DESTINATION_VALUE);
assertTrue(((LongWritable) lm1.getMessageValue()).get() == MESSAGE_VALUE);
}