(new TestResponder(), new InetSocketAddress(0), DIGEST_MD5_MECHANISM,
SERVICE, HOST, DIGEST_MD5_PROPS, new TestSaslCallbackHandler());
s.start();
Transceiver c =
new SaslSocketTransceiver(new InetSocketAddress(s.getPort()));
GenericRequestor requestor = new GenericRequestor(PROTOCOL, c);
GenericRecord params =
new GenericData.Record(PROTOCOL.getMessages().get("hello").getRequest());
params.put("greeting", "bob");
Utf8 response = (Utf8)requestor.request("hello", params);
assertEquals(new Utf8("goodbye"), response);
s.close();
c.close();
}