private List<Pair<Integer, ReplicaState>> fillMapWithReplicaState(int bootstrapCount, int standbyCount,
      int leaderCount, int inactiveCount, int offlineCount) {
    List<Pair<Integer, ReplicaState>> list = new ArrayList<>();
    list.add(new Pair<>(bootstrapCount, ReplicaState.BOOTSTRAP));
    list.add(new Pair<>(standbyCount, ReplicaState.STANDBY));
    list.add(new Pair<>(leaderCount, ReplicaState.LEADER));
    list.add(new Pair<>(inactiveCount, ReplicaState.INACTIVE));
    list.add(new Pair<>(offlineCount, ReplicaState.OFFLINE));
    return list;
  }
Create a {@link List} of {@link Pair} of {@link ReplicaState} with their counts, as specified by counts in the
parameters.
@param bootstrapCount count of replicas in {@link ReplicaState#BOOTSTRAP}.
@param standbyCount count of replicas in {@link ReplicaState#STANDBY}.
@param leaderCount count of replicas in {@link ReplicaState#LEADER}.
@param inactiveCount count of replicas in {@link ReplicaState#INACTIVE}.
@param offlineCount count of replicas in {@link ReplicaState#OFFLINE}.
@return
ambry-router/src/test/java/com/github/ambry/router/OperationTrackerTest.java