@Test
    void component_id_can_be_injected() {
        String componentId = "myId:1.2@namespace";

        ComponentGraph componentGraph = new ComponentGraph();
        componentGraph.add(mockComponentNodeWithId(ComponentTakingComponentId.class, componentId));
        componentGraph.complete();

        assertEquals(ComponentId.fromString(componentId), componentGraph.getInstance(ComponentTakingComponentId.class).componentId);
    }
@author gjoranv
@author Tony Vaagenes
@author ollivir
container-core/src/test/java/com/yahoo/container/di/componentgraph/core/ComponentGraphTest.java