public static DefaultProcessCommands main(File directory, int processNumber) {
    return new DefaultProcessCommands(directory, processNumber, true);
  }
@Test
  public void main_fails_if_processNumber_is_less_than_0() throws Exception {
    int processNumber = -2;

    expectProcessNumberNoValidIAE(() -> {
      try ( DefaultProcessCommands main = DefaultProcessCommands.main(temp.newFolder(), processNumber);) {

      }
    }, processNumber);

  }