### Question:
ArrayListSimpleCollection implements SimpleCollection<E> { public E get(int index) throws IndexOutOfBoundsException { return list.get(index); } ArrayListSimpleCollection();  ArrayListSimpleCollection(Collection<E> initial);  ArrayListSimpleCollection(int initialCapacity); void add(E element); E get(int index); E set(int index, E element); boolean remove(E element); @Override int size(); @Override boolean isEmpty(); @Override Iterator<E> structuralIterator(); @Override Iterator<E> iterator();  }### Answer:
@Test(expected = IndexOutOfBoundsException.class) public void get0() { final ArrayListSimpleCollection<String> collection = new ArrayListSimpleCollection<>(); collection.get(1); }