@Override
    public Iterator<E> iterator() {
        return new ElementIterator();
    }
@Test
    public void testIteratorHasNextReturnsFalseIfIteratedOverAll() {
        final OAHashSet<Integer> set = new OAHashSet<>(8);
        populateSet(set, 1);

        final Iterator<Integer> iterator = set.iterator();
        iterator.next();
        assertFalse(iterator.hasNext());
    }