@Test
    public void testCallerInfo() {
        Logger logger = LoggerFactory.getLogger("testMarker");
        listAppender.extractLocationInfo = true;
        logger.debug("hello");
        LoggingEvent event = listAppender.list.get(0);
        assertEquals(this.getClass().getName(), event.getLocationInformation().getClassName());
    }
Test whether invoking the SLF4J API causes problems or not.

@author Ceki Gulcu
slf4j-reload4j/src/test/java/org/slf4j/reload4j/InvocationTest.java