Field field = BisocketClientInvoker.class.getDeclaredField("listenerIdToClientInvokerMap");
field.setAccessible(true);
Map listenerIdToClientInvokerMap = (Map) field.get(client.getInvoker());
assertEquals(0, listenerIdToClientInvokerMap.size());
client.removeListener(callbackHandler);
client.disconnect();
}
public void testMaxSocketPoolSize() throws Throwable