    @Test
    public void shouldExtractBasicLoggerWithAdditivity() {

        Properties props = new Properties();
        props.setProperty("log4j.logger.foo.bar.baz", "debug");
        props.setProperty("log4j.additivity.foo.bar.baz", "true");

        Log4JModel model = new Log4JModel(props);

        List<Logger> loggers = model.getLoggers();

        assertThat(loggers.size(), is(1));
        Logger logger = loggers.get(0);

        assertThat(logger.getName(), is("foo.bar.baz"));
        assertThat(logger.getLevel().getValue(), is("DEBUG"));
        assertThat(logger.getAdditivity(), is("true"));
    }