test/infinity/ecs/utils/ReadOnlyIteratorTest.java
/**
     * Test of remove method, of class ReadOnlyIterator.
     */
Test of remove method, of class ReadOnlyIterator.
Test of remove method of class ReadOnlyIterator .
@Test
    public void testRemove() {
	try{
	    _iter1.remove();
	    fail("This should throw an Exception!");
	} catch(UnsupportedOperationException e) {}
	try{
	    _iter2.remove();
	    fail("This should throw an Exception!");
	} catch(UnsupportedOperationException e) {}
    }
@ Test public void testRemove ( ) { try { _iter1 . remove ( ) ; fail ( "This should throw an Exception!" ) ; } catch ( UnsupportedOperationException e ) { } try { _iter2 . remove ( ) ; fail ( "This should throw an Exception!" ) ; } catch ( UnsupportedOperationException e ) { } }
Test of remove method, of class ReadOnlyIterator.
Test of remove method of class ReadOnlyIterator .