@Test
    public void testNull() {
        Logger logger = LoggerFactory.getLogger("testNull");
        logger.debug(null);
        logger.info(null);
        logger.warn(null);
        logger.error(null);

        Exception e = new Exception("This is a test exception.");
        logger.debug(null, e);
        logger.info(null, e);
        logger.warn(null, e);
        logger.error(null, e);
    }
Test whether invoking the SLF4J API causes problems or not.

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