test/infinity/ecs/utils/ReadOnlyCollectionTest.java
/**
     * Test of iterator method, of class ReadOnlyCollection.
     */
Test of iterator method, of class ReadOnlyCollection.
Test of iterator method of class ReadOnlyCollection .
@Test
    public void testIterator() {
	Iterator<Integer> iter = _col1.iterator();
	while(iter.hasNext()){
	    assertTrue(_col1.contains(iter.next()));
	}
    }
@ Test public void testIterator ( ) { Iterator < Integer > iter = _col1 . iterator ( ) ; while ( iter . hasNext ( ) ) { assertTrue ( _col1 . contains ( iter . next ( ) ) ) ; } }
Test of iterator method, of class ReadOnlyCollection.
Test of iterator method of class ReadOnlyCollection .