BisocketServerInvoker callbackServerInvoker = (BisocketServerInvoker) connector.getServerInvoker();
Map callbackHandlers = (Map) field.get(callbackServerInvoker);
assertEquals(1, callbackHandlers.size());
Object o = callbackHandlers.values().iterator().next();
Client callbackClient = ((ServerInvokerCallbackHandler) o).getCallbackClient();
BisocketClientInvoker clientInvoker = (BisocketClientInvoker) callbackClient.getInvoker();
field = BisocketClientInvoker.class.getDeclaredField("pingTimerTask");
field.setAccessible(true);
timerTask = (TimerTask) field.get(clientInvoker);
assertNotNull(timerTask);
log.info("PingTimerTask was created");