### Question:
CodeGeneratorMojoLogger implements CodeGeneratorLogger, Log { @VisibleForTesting Log getInstance() { return instance; } CodeGeneratorMojoLogger();  CodeGeneratorMojoLogger(Log instance); @Override void debug(String format); @Override boolean isDebugEnabled(); @Override void debug(CharSequence content); @Override void debug(CharSequence content, Throwable error); @Override void info(String string); @Override void debug(Throwable e); @Override boolean isInfoEnabled(); @Override void info(CharSequence content); @Override void info(CharSequence content, Throwable error); @Override void info(Throwable error); @Override boolean isWarnEnabled(); @Override void warn(CharSequence content); @Override void warn(CharSequence content, Throwable error); @Override void warn(Throwable error); @Override boolean isErrorEnabled(); @Override void error(CharSequence content); @Override void error(CharSequence content, Throwable error); @Override void error(Throwable error);  }### Answer:
@Test public void testDefaultConstructor() { CodeGeneratorMojoLogger logger = new CodeGeneratorMojoLogger(); assertTrue(logger.getInstance() instanceof SystemStreamLog); }
@Test public void testConstructorWithLog() { CodeGeneratorMojoLogger logger = new CodeGeneratorMojoLogger(new DefaultLog(new ConsoleLogger())); assertTrue(logger.getInstance() instanceof DefaultLog); }