private String generateDatasetVersion(Dataset dataset) {
    String version;
    Dataset.VersionSchema datasetVersionSchema = dataset.getVersionSchema();
    Random random = new Random();
    if (TIMESTAMP.equals(datasetVersionSchema)) {
      sleep();
      version = String.valueOf(System.currentTimeMillis());
    } else if (MONOTONIC.equals(datasetVersionSchema)) {
      version = String.valueOf(random.nextInt(10000));
    } else if (SEMANTIC.equals(datasetVersionSchema)) {
      int major = random.nextInt(100);
      int minor = random.nextInt(100);
      int patch = random.nextInt(100);
      version = major + "." + minor + "." + patch;
    } else if (SEMANTIC_LONG.equals(datasetVersionSchema)) {
      int major = random.nextInt(100);
      int minor = random.nextInt(100);
      int patch = random.nextInt(100);
      int revision = random.nextInt(100);
      version = major + "." + minor + "." + patch + "." + revision;
    } else {
      throw new IllegalArgumentException("This type of version schema is not compatible");
    }
    return version;
  }
Verify Named blob List operation.
@param accountName The account name.
@param containerName The container name
@param ownerId The owner id
@param prefix The prefix of blob name.
@param numberOfBlobs The expected number of named blobs returned by list operation.
@throws Exception
ambry-frontend/src/integration-test/java/com/github/ambry/frontend/FrontendIntegrationTestBase.java