private Config createConfig(Cluster cluster, RepositoryVersionEntity repoVersion, String type,
      String tag, Map<String, String> properties) {
    return configFactory.createNew(repoVersion.getStackId(), cluster, type, tag, properties,
        NO_ATTRIBUTES);
  }
Creates an upgrade and associates it with the cluster.
ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/ConfigureActionTest.java