protected SocketChannelWithTimeoutsEmul() throws IOException {
super();
selector = new SelectorEmul();
SocketChannelEmul ce = new SocketChannelEmul();
ce.configureBlocking(false);
ce.setBytesToRead(ByteBuffer.wrap("test".getBytes()));
socketChannel = ce;
channelKey=new SelectionKeyEmul();
}