question: public void testLongOptions ( ) { ArgumentParser parser = new ArgumentParser ( new String [ ] { "--a" , "--bc" , "--def=ghj" , "--kl=mn op" , "=" , "--qr=" , "--=" , "--=st" , "--=uv=wxy z" } , true ) ; Iterator < String > iter = parser . iterator ( ) ; assertEquals ( "--a" , iter . next ( ) ) ; assertEquals ( "--bc" , iter . next ( ) ) ; assertEquals ( "--def" , iter . next ( ) ) ; assertEquals ( "ghj" , iter . next ( ) ) ; assertEquals ( "--kl" , iter . next ( ) ) ; assertEquals ( "mn op" , iter . next ( ) ) ; assertEquals ( "=" , iter . next ( ) ) ; assertEquals ( "--qr" , iter . next ( ) ) ; assertEquals ( "" , iter . next ( ) ) ; assertEquals ( "--=" , iter . next ( ) ) ; assertEquals ( "--=st" , iter . next ( ) ) ; assertEquals ( "--=uv=wxy z" , iter . next ( ) ) ; assertIteratorAtEnd ( iter ) ; }
target:  Test if long options (beginning with '--') are correctly recognized.