### Question:
Log4JLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { final Logger logger = Logger.getLogger(name); return new Log4JLogger(logger); }  @Override InternalLogger newInstance(String name);  }### Answer:
@Test public void testCreation() { InternalLogger logger = new Log4JLoggerFactory().newInstance("foo"); assertTrue(logger instanceof Log4JLogger); assertEquals("foo", logger.toString()); }