@Test
public void testShortFlushes() {
final int ITERATIONS = 1000000;
SharedMessageBuffer smb = new SharedMessageBuffer();
final DecoderEmbedder<TSOMessage> decoder = new DecoderEmbedder<TSOMessage>(new TSODecoder(new Zipper()));
ChannelDownstreamHandler handler = new SimpleChannelDownstreamHandler();
EncoderEmbedder<ChannelBuffer> encoder = new EncoderEmbedder<ChannelBuffer>(handler);
ChannelHandlerContext ctx = encoder.getPipeline().getContext(handler);
Channel channel = ctx.getChannel();
ReadingBuffer rb = smb.getReadingBuffer(ctx);