public void testArguments(){
  ArgumentParser parser=new ArgumentParser(new String[]{"a","bc","def=g","hjk=lmn opq"});
  Iterator<String> iter=parser.iterator();
  assertEquals("a",iter.next());
  assertEquals("bc",iter.next());
  assertEquals("def=g",iter.next());
  assertEquals("hjk=lmn opq",iter.next());
  assertIteratorAtEnd(iter);
}

public void testArguments ( ) { ArgumentParser parser = new ArgumentParser ( new String [ ] { "a" , "bc" , "def=g" , "hjk=lmn opq" } ) ; Iterator < String > iter = parser . iterator ( ) ; assertEquals ( "a" , iter . next ( ) ) ; assertEquals ( "bc" , iter . next ( ) ) ; assertEquals ( "def=g" , iter . next ( ) ) ; assertEquals ( "hjk=lmn opq" , iter . next ( ) ) ; assertIteratorAtEnd ( iter ) ; }
test if regular arguments ( no options ) are correctly recognized .
