private ListOperationTestParam setupTestParamForListOperation(int numberOfRecords) throws Exception {
    Account account = accountService.getAllAccounts().iterator().next();
    Container container = account.getAllContainers().iterator().next();
    String blobNamePrefix = "testListNamedBlobsWithOrder-" + TestUtils.getRandomKey(10) + "-";
    List<NamedBlobRecord> records = new ArrayList<>();
    time.setCurrentMilliseconds(SystemTime.getInstance().milliseconds());
    for (int i = 0; i < numberOfRecords; i++) {
      String blobName = blobNamePrefix + String.format("%02d", i); // padding with 0 so we keep the order
      long deleted_ts = i % 2 == 0 ? Utils.Infinite_Time : time.milliseconds() + TimeUnit.HOURS.toMillis(1);
      NamedBlobRecord record =
          new NamedBlobRecord(account.getName(), container.getName(), blobName, getBlobId(account, container),
              deleted_ts, 0, 1024);
      namedBlobDb.put(record, NamedBlobState.READY, true).get();
      records.add(record);
    }
    return new ListOperationTestParam(account, container, blobNamePrefix, records);
  }
Setup test for list operation.
@param numberOfRecords The number of named blob record to create before test
@return An instance of ListOperationTestParam that carries the test parameters
@throws Exception
ambry-named-mysql/src/integration-test/java/com/github/ambry/named/MySqlNamedBlobDbListOperationIntegrationTest.java