public static <T extends ConfigInstance> ConfigMap newMap(Class<T> clazz, String configId) {
            ConfigMap ret = new ConfigMap();
            ret.add(clazz, configId);
            return ret;
        }
@author gjoranv
@author Tony Vaagenes
@author ollivir
container-core/src/test/java/com/yahoo/container/di/componentgraph/core/ComponentGraphTest.java