@Override
    public Collection<AmbryPartition> getPartitions() {
      return partitionToReplicas.keySet();
    }
A helper class that mocks the {@link ClusterManagerQueryHelper} and stores partition to replicas mapping internally
as told.
ambry-clustermap/src/test/java/com/github/ambry/clustermap/DynamicClusterManagerComponentsTest.java