@Override
    public LoggingRuleConfiguration build() {
        ILoggerFactory iLoggerFactory = LoggerFactory.getILoggerFactory();
        if ("ch.qos.logback.classic.LoggerContext".equals(iLoggerFactory.getClass().getName())) {
            LoggerContext loggerContext = (LoggerContext) iLoggerFactory;
            return new LoggingRuleConfiguration(getDefaultLoggers(loggerContext), getDefaultAppenders(loggerContext));
        }
        return new LoggingRuleConfiguration(Collections.emptyList(), Collections.emptySet());
    }
@Test
    void assertBuild() {
        LoggingRuleConfiguration actual = new DefaultLoggingRuleConfigurationBuilder().build();
        assertThat(actual.getLoggers().size(), is(4));
        assertThat(actual.getAppenders().size(), is(1));
    }