@Test
void inject() {

    instance.getOrCreate(Foo.class);
    final DependencyGraph dependencyGraph = instance.inject();
    final DependencyNode dependencyNode = dependencyGraph.get(Foo.class);
    assertEquals(2, dependencyNode.getExecutions().size());
}