private ContainerStorageStats generateRandomContainerStorageStats(short containerId) {
    long logicalStorageUsage = Math.abs(random.nextLong() % 100000L);
    return new ContainerStorageStats.Builder(containerId).logicalStorageUsage(logicalStorageUsage)
        .physicalStorageUsage(logicalStorageUsage * 2)
        .numberOfBlobs(10)
        .build();
  }
Helper method to generate a random {@link ContainerStorageStats} for given containerId.
@param containerId The container id.
@return The generated {@link ContainerStorageStats}.
ambry-api/src/test/java/com/github/ambry/server/StorageStatsTest.java