@Override
        public void registerPartitionStateChangeListener(StateModelListenerType listenerType,
            PartitionStateChangeListener partitionStateChangeListener) {
          registeredPartitionStateChangeListeners.put(listenerType, partitionStateChangeListener);
        }
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