@Override
  LogSegmentSizeProvider getLogSegmentSizeProvider() {
    if (provider == null) {
      return new MapLogSegmentSizeProvider(new HashMap<>());
    }
    return provider;
  }
Mock {@link BlobStoreStats} for test purposes
ambry-store/src/test/java/com/github/ambry/store/CompactionPolicyTest.java