source: class ArgumentListTest {
  
      private ArgumentList args;
  
      @Test
      public void treatNextAsLongOption() {
  
target:         args.treatNextAsLongOption();
          assertNextArgumentIs( "-a" );
  
          args.treatNextAsLongOption();
          assertNextArgumentIs( "--b" );
  
          args.treatNextAsLongOption();
          assertNextArgumentIs( "--c" );
  
          assertNoMoreArguments();
      }
  
  }