Lists.<TransportClientBootstrap>newArrayList(
new SaslClientBootstrap(conf, "app-id", new TestSecretKeyHolder("good-key"))));
TransportClient client = clientFactory.createClient(TestUtils.getLocalHost(), server.getPort());
String msg = "Hello, World!";
byte[] resp = client.sendRpcSync(msg.getBytes(), 1000);
assertEquals(msg, new String(resp)); // our rpc handler should just return the given msg
}
@Test
public void testBadClient() {