public void test_simpleCloseOnEnd(){
  Striterator iter=new Striterator(m_data.iterator());
  assertTrue(iter.isOpen());
  while (iter.hasNext()) {
    iter.next();
    assertTrue(iter.isOpen());
  }
  assertTrue(!iter.isOpen());
}

public void test_simpleCloseOnEnd ( ) { Striterator iter = new Striterator ( m_data . iterator ( ) ) ; assertTrue ( iter . isOpen ( ) ) ; while ( iter . hasNext ( ) ) { iter . next ( ) ; assertTrue ( iter . isOpen ( ) ) ; } assertTrue ( ! iter . isOpen ( ) ) ; }
test that striterator is closed after hasnext return false
