@Override
    CompactionDetails getCompactionDetails(CompactionPolicy compactionPolicy) throws StoreException {
      if (exceptionToThrowOnGetCompactionDetails != null) {
        throw exceptionToThrowOnGetCompactionDetails;
      }
      return details;
    }
MockBlobStore to assist in testing {@link CompactionManager}
ambry-store/src/test/java/com/github/ambry/store/CompactionManagerTest.java