@Override
  public void setResourceIdealState(String clusterName, String resourceName, IdealState idealState) {
    addResource(clusterName, resourceName, idealState);
  }
@return the number of calls to the {@link #setInstanceConfig} method.
ambry-clustermap/src/test/java/com/github/ambry/clustermap/MockHelixAdmin.java