@Override
@Before
public void setUp() throws Exception {
super.setUp();
if (mode == Mode.PROXY) {
proxy = new HedwigProxy(proxyConf, new LoggingExceptionHandler());
proxy.start();
}
client = new HedwigClient(getClientConfiguration());
publisher = client.getPublisher();
subscriber = client.getSubscriber();