assertEquals(1, callbackHandler.counter);
log.info("callback handler is installed");
// Verify that "timeout" is used correctly.
assertTrue(connector.getServerInvoker() instanceof SocketServerInvoker);
SocketServerInvoker serverInvoker = (SocketServerInvoker) connector.getServerInvoker();
Field field = SocketServerInvoker.class.getDeclaredField("clientpool");
field.setAccessible(true);
LRUPool clientpool = (LRUPool) field.get(serverInvoker);
Set threads = clientpool.getContents();
assertEquals(1, threads.size());