Schema.create(Schema.Type.STRING),
Schema.createUnion(new ArrayList<Schema>()));
protocol.getMessages().put("hello", message);
Transceiver t = createTransceiver();
try {
GenericRequestor r = new GenericRequestor(protocol, t);
addRpcPlugins(r);
GenericRecord params = new GenericData.Record(message.getRequest());
params.put("extra", Boolean.TRUE);
params.put("greeting", "bob");
String response = r.request("hello", params).toString();
assertEquals("goodbye", response);
} finally {
t.close();
server.close();
}