public static DefaultProcessCommands secondary(File directory, int processNumber) {
    return new DefaultProcessCommands(directory, processNumber, false);
  }
@Test
  public void secondary_fails_if_processNumber_is_higher_than_MAX_PROCESSES() throws Exception {
    int processNumber = MAX_PROCESSES + 1;

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

      }
    }, processNumber);
  }