src/test/java/pityoulish/cmdline/ArgsInterpreterTest.java
public static ArgsInterpreter createOnlyCommandTestSubject()
  {
    MockBackendHandler mbh = new MockBackendHandler(1);
    MockCommandHandler cho = new MockCommandHandler("fixed", 1);

    return new ArgsInterpreter(mbh, "fixed", cho);
  }
/**
   * Creates an interpreter for a single command.
   * <ul>
   * <li>Backend handler with one argument</li>
   * <li>Command handler for "only" with one argument</li>
   * </ul>
   *
   * @return the argument interpreter
   */
Creates an interpreter for a single command.

Backend handler with one argument
Command handler for "only" with one argument


@return the argument interpreter
Creates an interpreter for a single command . Backend handler with one argument Command handler for " only " with one argument @return the argument interpreter
public static ArgsInterpreter createOnlyCommandTestSubject()
  {
    MockBackendHandler mbh = new MockBackendHandler(1);
    MockCommandHandler cho = new MockCommandHandler("fixed", 1);
    return new ArgsInterpreter(mbh, "fixed", cho);
  }
public static ArgsInterpreter createOnlyCommandTestSubject ( ) { MockBackendHandler mbh = new MockBackendHandler ( 1 ) ; MockCommandHandler cho = new MockCommandHandler ( "fixed" , 1 ) ; return new ArgsInterpreter ( mbh , "fixed" , cho ) ; }
Creates an interpreter for a single command.
Creates an interpreter for a single command .