@Test
void stopFailed() throws InstantiationException {

    final Logger logger = LoggerManager.getLogger(InjectorImpl.class);
    final Level level = logger.getLevel();
    logger.setLevel(Level.DEBUG);
    final Injector newInjector = Injector.builder().withComponent(Unstoppable.class).build();
    try {
        assertThrows(InjectorException.class, newInjector::stop);
    } finally {
        logger.setLevel(level);
    }
}