private NettyServerRequest createNettyServerRequest(int len) {
    byte[] array = new byte[len];
    TestUtils.RANDOM.nextBytes(array);
    ByteBuf content = Unpooled.wrappedBuffer(array);
    return new NettyServerRequest(null, content);
  }
Test send and receive requests
@throws Exception
ambry-network/src/test/java/com/github/ambry/network/NettyServerRequestResponseChannelTest.java