static EmbeddedChannel newHttp2Channel() {
    EmbeddedChannel channel =
        new EmbeddedChannel(Http2FrameCodecBuilder.forClient().build(), new Http2MultiplexHandler(new NoOpHandler()));
    return channel;
  }
IOException is expected if acquire stream from closed channel.
ambry-network/src/test/java/com/github/ambry/network/http2/MultiplexedChannelRecordTest.java