@Test
    void providers_can_deliver_a_new_instance_for_each_component() {
        ComponentGraph componentGraph = new ComponentGraph();
        componentGraph.add(mockComponentNode(NewIntProvider.class));
        componentGraph.complete();

        Integer instance1 = componentGraph.getInstance(Integer.class);
        Integer instance2 = componentGraph.getInstance(Integer.class);
        assertEquals(1, instance1.intValue());
        assertEquals(2, instance2.intValue());
    }
@author gjoranv
@author Tony Vaagenes
@author ollivir
container-core/src/test/java/com/yahoo/container/di/componentgraph/core/ComponentGraphTest.java