### Question:
FixedUncheckedSimpleCollection implements SimpleCollection<E> { @Override public Iterator<E> structuralIterator() { return new FUSCStructuralIterator(); } FixedUncheckedSimpleCollection(Object[] array); @Override int size(); @Override boolean isEmpty(); @Override Iterator<E> structuralIterator(); @Override Iterator<E> iterator();  }### Answer:
@Test(expected = NoSuchElementException.class) public void emptyStructuralIterator() { final FixedUncheckedSimpleCollection<String> collection = new FixedUncheckedSimpleCollection<>(new Object[0]); assertFalse(collection.structuralIterator().hasNext()); collection.structuralIterator().next(); }
@Test(expected = UnsupportedOperationException.class) public void removeStructuralIterator() { final FixedUncheckedSimpleCollection<String> collection = new FixedUncheckedSimpleCollection<>(new Object[] {"a"}); final Iterator<String> iterator = collection.structuralIterator(); iterator.next(); iterator.remove(); }