@Override
    protected void decode(ChannelHandlerContext ctx, DatagramPacket msg,
                          List<Object> list) throws Exception {
        ByteBuf byteBuf = msg.content();
        LispMessageReader reader = LispMessageReaderFactory.getReader(byteBuf);
        LispMessage message = (LispMessage) reader.readFrom(byteBuf);
        message.configSender(msg.sender());
        list.add(message);
    }
@Test(expected = IllegalArgumentException.class)
    public void testDecodeNoChannel() throws Exception {
        LispMessageDecoder decoder = new LispMessageDecoder();

        List<Object> list = Lists.newArrayList();
        decoder.decode(new ChannelHandlerContextAdapter(),
                convToDatagram(Unpooled.buffer()), list);
    }