private Collection<Map<String, String>> getOldSyntaxConfigProps() {
    Collection<Map<String, String>> configurations = new ArrayList<>();

    Map<String, String> configProperties1 = new HashMap<>();
    configProperties1.put("foo-type/prop1", "prop1Value");
    configProperties1.put("foo-type/prop2", "prop2Value");
    configurations.add(configProperties1);

    Map<String, String> configProperties2 = new HashMap<>();
    configProperties2.put("bar-type/prop3", "prop3Value");
    configurations.add(configProperties2);

    return configurations;
  }
Creates a configuration instance given user specified properties.
ambari-server/src/test/java/org/apache/ambari/server/topology/ConfigurationFactoryTest.java