### Question:
Slf4JLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new Slf4JLogger(LoggerFactory.getLogger(name)); } Slf4JLoggerFactory();   Slf4JLoggerFactory(boolean failIfNOP); @Override InternalLogger newInstance(String name);  }### Answer:
@Test public void testCreation() { InternalLogger logger = new Slf4JLoggerFactory().newInstance("foo"); assertTrue(logger instanceof Slf4JLogger); assertEquals("foo", logger.name()); }