### Question:
HtmlViewFactory extends AbstractViewFactory { @Override public Viewable createTraceSummary(final Trace trace) { return new HtmlTraceSummary(this.outputStream, trace); } HtmlViewFactory(final PrintStream stream, final URL cssUrl); static HtmlViewFactory create(final OutputStream stream, final URL cssURL); @Override ViewableContainer createView(final String id, final String title); @Override ViewableContainer createReportDetails(); @Override ViewableContainer createSection(final String id, final String title); @Override Viewable createSpecificationItem(final LinkedSpecificationItem item); @Override Viewable createTraceSummary(final Trace trace); @Override ViewableContainer createReportSummary(); @Override Viewable createTableOfContents(final ViewableContainer from);  }### Answer:
@Test void testCreateTraceSummary() { final Trace trace = Trace.builder().build(); final Viewable view = this.factory.createTraceSummary(trace); assertThat(view, instanceOf(HtmlTraceSummary.class)); }