@Test(expected = UnsupportedOperationException.class) public void testIterator_remove() { Iterator<Integer> iterator = list.iterator(); iterator.next(); iterator.remove(); }