@Test
void injectIllegal() {

    final class Bez {
        @Inject private int a; // private field
    }
    final Bez bez = new Bez();
    assertThrows(IllegalArgumentException.class, () -> injector.inject(bez));
}