NettyClient client = new NettyClient(context, conf, new WorkerInfo(),
new MockExceptionHandler());
client.connectAllAddresses(
Lists.<WorkerInfo>newArrayList(workerInfo));
client.stop();
server.stop();
}
/**
* Test connecting one client to three servers.