queue.add(buf);
MockHandler handler = new MockHandler();
DecodeMessageTask task = new TcpSocketReceiver().new DecodeMessageTask(0, queue, new MockCodec(), handler);
task.handleMessage();
handler.assertEqual(builder.build());
TcpSocketReceiver receiver = lookup(TcpSocketReceiver.class);