public static <E> BoundedList<E> newArrayBacked(int maxLength) {
        return new BoundedList<>(maxLength, new ArrayList<>());
    }
@Test
    public void testInitialCapacityMustNotBeZero() {
        assertEquals("Invalid non-positive initialCapacity of 0",
            assertThrows(IllegalArgumentException.class,
                () -> BoundedList.newArrayBacked(100, 0)).getMessage());
    }