@Override
    public boolean setReplicaSealedState(ReplicaId replicaId, ReplicaSealStatus replicaSealStatus) {
      if (setSealStateReturnVal != null) {
        return setSealStateReturnVal;
      }
      switch (replicaSealStatus) {
        case SEALED:
          sealedReplicas.add(replicaId);
          partiallySealedReplicas.remove(replicaId);
          break;
        case PARTIALLY_SEALED:
          partiallySealedReplicas.add(replicaId);
          sealedReplicas.remove(replicaId);
          break;
        case NOT_SEALED:
          partiallySealedReplicas.remove(replicaId);
          sealedReplicas.remove(replicaId);
          break;
      }
      return true;
    }
Ctor for MockClusterParticipant with arguments to override return value of some methods.
@param setSealStateReturnVal if not null, use this value to override result of setReplicaSealedState(). If null,
                             go through standard workflow in the method.
@param setStopStateReturnVal if not null, use this value to override result of setReplicaStoppedState(). If null,
                             go through standard workflow in the method.
ambry-store/src/test/java/com/github/ambry/store/StorageManagerTest.java