private TraceType getTraceType(final String fileName) {
    if (fileName.contains("_trace")) {
      return TraceType.TRACE;
    } else if (fileName.contains("_vmTrace")) {
      return TraceType.VM_TRACE;
    } else if (fileName.contains("_stateDiff")) {
      return TraceType.STATE_DIFF;
    } else {
      return TraceType.OTHER;
    }
  }
Searches the provided subdirectories for spec files containing test cases, and returns
parameters required to run these tests.

@param subDirectoryPaths The subdirectories to search.
@return Parameters for this test which will contain the name of the test and the url of the
    spec file to run.
ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/AbstractJsonRpcHttpBySpecTest.java