consoleHandler.setLevel(Level.FINEST);
logger.addHandler(consoleHandler);
CacheStopDispatcher cacheStopDispatcher = new CacheStopDispatcher();
cacheStopDispatcher.start();
TestTarget testTarget = new TestTarget(12345);
testTarget.start();
SocketChannel channel = testTarget.getSocketChannel();
BlockingSocketChannel blockingChannel = new BlockingSocketChannel(channel);
blockingChannel.configureBlocking(false);
final TestChannelHandler testChannelHandler = new TestChannelHandler();
cacheStopDispatcher.registerChannel(blockingChannel, testChannelHandler);