@Test
void get() {

    assertThrows(IllegalArgumentException.class, () -> instance.get(Foo.class));
    instance.getOrCreate(Foo.class);
    final DependencyNode dependencyNode = instance.get(Foo.class);
    assertEquals(Foo.class, dependencyNode.getRepresentedType());
}