@Test
void testEncoding() {

  ByteBuf frame = RequestNFrameCodec.encode(ByteBufAllocator.DEFAULT, 1, 5);
  frame = FrameLengthCodec.encode(ByteBufAllocator.DEFAULT, frame.readableBytes(), frame);
  assertEquals("00000a00000001200000000005", ByteBufUtil.hexDump(frame));
  frame.release();
}