### Question:
HtmlReporter extends AbstractFileReporter implements CheckableReporter { @Override public boolean canReport(OutputFormat format) { return OutputFormat.HTML.equals(format); } HtmlReporter(FileWriter fileWriter, DirectoryCreator directoryCreator, JsonConverter jsonConverter, MustacheContentResolver mustacheContentResolver); @Override boolean canReport(OutputFormat format);  }### Answer:
@Test public void testCanReportShouldReturnFalseIfOutputFormatIsJson() { boolean result = underTest.canReport(OutputFormat.JSON); assertThat(result).isFalse(); }
@Test public void testCanReportShouldReturnTrueIfOutputFormatIsHtml() { boolean result = underTest.canReport(OutputFormat.HTML); assertThat(result).isTrue(); }