@Test
  public void availableStream0ShouldBeFalse() {
    loopGroup.register(channel).awaitUninterruptibly();
    Promise<Channel> channelPromise = new DefaultPromise<>(loopGroup.next());
    channelPromise.setSuccess(channel);

    MultiplexedChannelRecord record = new MultiplexedChannelRecord(channel, 0, null, streamChannelInitializer);

    assertFalse(record.acquireStream(null));
  }
False from acquireStream() is expected if no stream available.
ambry-network/src/test/java/com/github/ambry/network/http2/MultiplexedChannelRecordTest.java