void setReplicaState(String partition, String state) {
      Map<String, String> stateMap = new HashMap<>();
      stateMap.put(CurrentState.CurrentStateProperty.CURRENT_STATE.name(), state);
      replicaStateMap.put(partition, stateMap);
    }
Private class that holds partition state infos from one data node.
ambry-clustermap/src/test/java/com/github/ambry/clustermap/MockHelixAdmin.java