@Override
        public boolean setReplicaSealedState(ReplicaId replicaId, ReplicaSealStatus replicaSealStatus) {
          if (!(replicaId instanceof MockReplicaId)) {
            throw new IllegalArgumentException("Not MockReplicaId");
          }
          MockReplicaId mockReplicaId = (MockReplicaId) replicaId;
          mockReplicaId.setReplicaSealStatus(replicaSealStatus);
          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