### Question:
HugeLongArrayStack { public void push(long v) { if (size == capacity) { throw new IndexOutOfBoundsException("Stack is full."); } array.set(size++, v); } private  HugeLongArrayStack(HugeLongArray array); static HugeLongArrayStack newStack(long capacity, AllocationTracker tracker); void push(long v); long pop(); long size(); boolean isEmpty();  }### Answer:
@Test void testPush() { var q = HugeLongArrayStack.newStack(10, AllocationTracker.empty()); q.push(42); q.push(1337); assertEquals(2, q.size()); }