GnipReader extends HosebirdReader { @Override protected final Logger createLogger() { return LoggerFactory.getLogger(GnipReader.class); } GnipReader(); static void main(final String[] args);  }
@Test public void should_create_correct_logger() { GnipReader gnipReader = new GnipReader(); assertEquals(LoggerFactory.getLogger(GnipReader.class), gnipReader.createLogger()); }