@Override
        public boolean setReplicaStoppedState(List<ReplicaId> replicaIds, boolean markStop) {
          for (ReplicaId replicaId : replicaIds) {
            if (!(replicaId instanceof MockReplicaId)) {
              throw new IllegalArgumentException("Not MockReplicaId");
            }
            MockReplicaId mockReplicaId = (MockReplicaId) replicaId;
            mockReplicaId.markReplicaDownStatus(markStop);
          }
          return true;
        }
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