e.getClass().equals((new NoSuchElementException()).getClass()));
}
}
public void testReset() {
ResettableIterator it = (ResettableIterator) makeObject();
assertEquals(true, it.hasNext());
assertEquals(testValue, it.next());
assertEquals(false, it.hasNext());
it.reset();
assertEquals(true, it.hasNext());
assertEquals(testValue, it.next());
assertEquals(false, it.hasNext());
it.reset();
it.reset();
assertEquals(true, it.hasNext());
}