@Test
void stop() {

    final Logger logger = LoggerManager.getLogger(InjectorImpl.class);
    final Level level = logger.getLevel();
    logger.setLevel(Level.DEBUG);
    try {
        final Baz baz = injector.getOrThrow(Baz.class);
        injector.stop();
        assertTrue(baz.stopped);
    } finally {
        logger.setLevel(level);
    }
}