public static void reset(File directory, int processNumber) {
    try (DefaultProcessCommands processCommands = new DefaultProcessCommands(directory, processNumber, true)) {
      // nothing else to do than open file and reset the space of specified process
    }
  }
@Test
  public void reset_fails_if_processNumber_is_higher_than_MAX_PROCESSES() throws Exception {
    int processNumber = MAX_PROCESSES + 1;

    expectProcessNumberNoValidIAE(() -> DefaultProcessCommands.reset(temp.newFolder(), processNumber), processNumber);
  }