private StorageManager createStorageManager(DataNodeId currentNode, MetricRegistry metricRegistry,
      List<ClusterParticipant> clusterParticipants) throws StoreException {
    return new StorageManager(storeConfig, diskManagerConfig, Utils.newScheduler(1, false), metricRegistry,
        new MockIdFactory(), clusterMap, currentNode, new DummyMessageStoreHardDelete(), clusterParticipants,
        SystemTime.getInstance(), new DummyMessageStoreRecovery(), new InMemAccountService(false, false));
  }
Construct a {@link StorageManager} for the passed in set of replicas.
@param currentNode the list of replicas for the {@link StorageManager} to use.
@param metricRegistry the {@link MetricRegistry} instance to use to instantiate {@link StorageManager}
@param clusterParticipants a list of {@link ClusterParticipant}(s) to use in storage manager
@return a started {@link StorageManager}
@throws StoreException
ambry-store/src/test/java/com/github/ambry/store/StorageManagerTest.java