### Question:
LoggerFactory { public static Logger getLogger(Class<?> clazz) { if (clazz == null) { return null; } return getLogger(clazz.getCanonicalName()); }  static Logger getLogger(Class<?> clazz); static Logger getLogger(String name);  }### Answer:
@Test public void getLogger() { Assert.assertNull(LoggerFactory.getLogger((String) null)); Assert.assertNull(LoggerFactory.getLogger((Class) null)); Assert.assertEquals(LoggerFactory.getLogger(LoggerFactoryTest.class), LoggerFactory.getLogger(LoggerFactoryTest.class.getCanonicalName())); }