@Test
public void testReverseIterationException() {

    // note: no "expected = NoSuchElementException", because we want to make sure the exception occurs only during
    // the last call to previous()
    ListIterator<Integer> iter = list.listIterator(100);
    for (int i=0; i<100; i++) {
        iter.previous();
    }
    try {
        iter.previous();
    } catch (NoSuchElementException ex) {
        return;
    }
    Assert.fail();
}