code: public void run(Record input, List<Record> output) {
          driver.withInput(input.getKey(), input.getValue());
  
          if (output != null) {
              for (Record r : output) {
                  driver.withOutput(r.getKey(), r.getValue());
              }
          }
  
          driver.runTest();
      }
docs: Run the test with this method.
  The data is input for the {@link Record}.
  @param input input {@link Record}
  @param output result of {@link Record} {@link List}