public void setupBlobStore(Properties prop) throws Exception {
    Pair<MockBlobStore, StoreConfig> initState =
        CompactionPolicyTest.initializeBlobStore(prop, time, -1, -1, DEFAULT_MAX_BLOB_SIZE);
    config = initState.getSecond();
    blobStore = initState.getFirst();
    mockBlobStoreStats = blobStore.getBlobStoreStats();
    messageRetentionTimeInMs = TimeUnit.MINUTES.toMillis(config.storeDeletedMessageRetentionMinutes);
    compactionPolicy = new StatsBasedCompactionPolicy(config, time);
  }
Instantiates {@link CompactionPolicyTest} with the required cast
@throws InterruptedException
ambry-store/src/test/java/com/github/ambry/store/StatsBasedCompactionPolicyTest.java