@Test
void getAfterOrThrow() {

    final Foo expected = injector.getOrThrow(Bar.class);
    final Baz baz = injector.getOrThrow(Baz.class);
    final Foo actual = injector.getAfterOrThrow(Foo.class, baz);
    assertEquals(expected, actual);
    final Bar bar = injector.getOrThrow(Bar.class);
    assertThrows(IllegalArgumentException.class, () -> injector.getAfterOrThrow(Foo.class, bar));
}