public JsonTestParameters<S, T> generator(final Generator<S, T> generator) {
    this.generator = generator;
    return this;
  }
Generator json test parameters.

@param generator the generator
@return the json test parameters
testutil/src/main/java/org/hyperledger/besu/testutil/JsonTestParameters.java