serverParams.put(AbstractServerTransport.JSON_CONTEXT_OPTION, jacksonContextServerClassName);
startServer(serverParams);
Map<String, Object> clientParams = new HashMap<>();
clientParams.put(ClientTransport.JSON_CONTEXT_OPTION, jacksonContextClientClassName);
final BayeuxClient client = new BayeuxClient(cometdURL, new LongPollingTransport(clientParams, httpClient));
client.handshake();
Assert.assertTrue(client.waitFor(5000, BayeuxClient.State.CONNECTED));
// Wait for the long poll