client.addListener(callbackHandler, new HashMap());
log.info("client added callback handler");
client.invoke(CALLBACK_TEST);
assertEquals(1, callbackHandler.callbackCounter);
ServerInvoker serverInvoker = connector.getServerInvoker();
assertTrue(serverInvoker instanceof BisocketServerInvoker);
Field field = ServerInvoker.class.getDeclaredField("callbackHandlers");
field.setAccessible(true);
Map callbackHandlers = (Map) field.get(serverInvoker);
assertEquals(1, callbackHandlers.size());