### Question:
CursorIterator implements Iterator<T> { @Override public void remove() { throw new UnsupportedOperationException(); } CursorIterator(Cursor cursor, Class<T> type); @Override boolean hasNext(); @Override T next(); @Override void remove();  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void remove() { iterator.next(); iterator.remove(); }