RPCProtocol.class, RPCProtocol.versionID, addr, conf);
}
@Test
public void testRPC() {
FloatMessage fm1 = client.sendAndReceiveMessage(fm0, DESTINATION_VALUE, new FloatWritable(
MESSAGE_VALUE));
assertTrue(fm0.get() == client.getMessage().get());
assertEquals(fm0.getDestinationVertex(), client.getMessage().getDestinationVertex());
assertEquals(fm1.getDestinationVertex(), DESTINATION_VALUE);
assertTrue(((FloatWritable) fm1.getMessageValue()).get() == MESSAGE_VALUE);
}