private CompactionDetails generateRandomCompactionDetails(int count) {
    List<LogSegmentName> logSegmentsNames = CompactionPolicyTest.generateRandomLogSegmentName(count);
    return new CompactionDetails(time.milliseconds(), logSegmentsNames, null);
  }
Generates random {@link CompactionDetails} with random log segment names
@param count number of log segments to be compacted as part of {@link CompactionDetails}
@return the randomly generated {@link CompactionDetails}
ambry-store/src/test/java/com/github/ambry/store/CompactionManagerTest.java