### Question:
CDocReportMojo extends AbstractMavenReport { @Override protected String getOutputEncoding() { return StringUtils.isBlank(outputEncoding) ? "utf-8" : outputEncoding; } CDocReportMojo();  CDocReportMojo(final TextParser textParser, final ScriptExecutionDetailsParser detailsParser); @Override boolean canGenerateReport(); @Override String getDescription(final Locale locale); @Override String getName(final Locale locale); @Override String getOutputName(); @Override boolean isExternalReport();  }### Answer:
@Test public void testGetOutputEncoding() { final String outputEncoding = "i am the bestest encoding EVAR!!"; mojo.outputEncoding = outputEncoding; assertThat(mojo.getOutputEncoding()).isEqualTo(outputEncoding); }
@Test public void testGetOutputEncodingUnset() { mojo.outputEncoding = null; assertThat(mojo.getOutputEncoding()).isEqualTo("utf-8"); }