@Test
public void testRpcPluginOrdering() throws Exception {
OrderPlugin plugin = new OrderPlugin();
SpecificResponder responder = new SpecificResponder(Mail.class, new TestMailImpl());
SpecificRequestor requestor = new SpecificRequestor(Mail.class, new LocalTransceiver(responder));
responder.addRPCPlugin(plugin);
requestor.addRPCPlugin(plugin);
Mail client = SpecificRequestor.getClient(Mail.class, requestor);
Message message = createTestMessage();
client.send(message);