public IntIterator iterator()
    {
        IntIterator iterator = this.iterator;
        if (null == iterator)
        {
            iterator = new IntIterator();
            if (shouldAvoidAllocation)
            {
                this.iterator = iterator;
            }
        }

        return iterator.reset();
    }
@Test
    void iteratorHasNoElements()
    {
        assertFalse(testSet.iterator().hasNext());
    }