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

        PrivateClassComponent instance = componentGraph.getInstance(PrivateClassComponent.class);
        assertNotNull(instance);
    }
@author gjoranv
@author Tony Vaagenes
@author ollivir
container-core/src/test/java/com/yahoo/container/di/componentgraph/core/ComponentGraphTest.java