TeStereo report

/** * Test a decorated iterator bounded to a max of 0. The * BoundedIterator should behave as if there are no more elements to return, * since it is technically an empty iterator. */ @Test public void testEmptyBounded(){ Iterator iter=new BoundedIterator(testList.iterator(),3,0); assertFalse(iter.hasNext()); try { iter.next(); fail("Expected NoSuchElementException."); } catch ( NoSuchElementException nsee) { } }