@Override
        public void participateAndBlockStateTransition(List<AmbryStatsReport> ambryHealthReports, AccountStatsStore accountStatsStore,
            Callback<AggregatedAccountStorageStats> callback) {
          for (String partitionName : partitionLeadershipList) {
            for (PartitionStateChangeListener partitionStateChangeListener : registeredPartitionStateChangeListeners.values()) {
              partitionStateChangeListener.onPartitionBecomeLeaderFromStandby(partitionName);
            }
          }
        }
Create a {@link MockClusterAgentsFactory} object from the given {@code clustermap}.
@param mockClusterMap {@link ClusterMap} object.
ambry-test-utils/src/main/java/com/github/ambry/clustermap/MockClusterAgentsFactory.java