test of hasnext method , of class readonlyiterator . concode_field_sep ReadOnlyIterator<Integer> _iter1 concode_elem_sep ReadOnlyIterator<Integer> _iter2 concode_elem_sep ReadOnlyIterator<Integer> _iter3 concode_elem_sep ReadOnlyCollection<Integer> _col2 concode_elem_sep ReadOnlyCollection<Integer> _col1 concode_elem_sep ReadOnlyCollection<Integer> _col3 concode_elem_sep List<Integer> _src1 concode_elem_sep List<Integer> _src2 concode_elem_sep List<Integer> _src3 concode_field_sep void testRemove concode_elem_sep void testNext concode_elem_sep void setUp concode_elem_sep void tearDown
void function ( ) { assertTrue ( _iter1 . hasNext ( ) ) ; assertTrue ( _iter2 . hasNext ( ) ) ; assertFalse ( _iter3 . hasNext ( ) ) ; int loc0 = _col1 . size ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { _iter1 . next ( ) ; } assertFalse ( _iter1 . hasNext ( ) ) ; }