### Question:
CDocReportMojo extends AbstractMavenReport { @Override protected Renderer getSiteRenderer() { return siteRenderer; } 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 testGetSiteRenderer() { final Renderer renderer = mock(Renderer.class); mojo.siteRenderer = renderer; assertThat(mojo.getSiteRenderer()).isEqualTo(renderer); }