public static Node mockComponentNode(Key<?> key) {
        return mockComponentNode(key.getTypeLiteral().getRawType(), "", key.getAnnotation());
    }
@author gjoranv
@author Tony Vaagenes
@author ollivir
container-core/src/test/java/com/yahoo/container/di/componentgraph/core/ComponentGraphTest.java