### Question:
CommonsLoggerFactory extends InternalLoggerFactory { @Override public InternalLogger newInstance(String name) { return new CommonsLogger(LogFactory.getLog(name), name); }  @Override InternalLogger newInstance(String name);  }### Answer:
@Test public void testCreation() { InternalLogger logger = new CommonsLoggerFactory().newInstance("foo"); assertTrue(logger instanceof CommonsLogger); assertEquals("foo", logger.name()); }