@Override
  public int capacity() {
    return (int) (maxQueueCapacity / 2);
  }
@Test
  public void constructor() {
    var queue = new MpscGrowableArrayQueue<Integer>(/* initialCapacity */ 4, /* maxCapacity */ 8);
    assertThat(queue.capacity()).isEqualTo(8);
  }