private static <T> T getComponent(ComponentGraph graph, Class<T> clazz) {
        return graph.getInstance(clazz);
    }
@author gjoranv
@author Tony Vaagenes
@author ollivir
container-core/src/test/java/com/yahoo/container/di/componentgraph/core/ReuseComponentsTest.java