### Question:
HtmlFormatter implements Formatter { public String getSummaryHeader() { return "<table class='summary'><tr><td>Test</td><td>Total Steps</td><td>Failures</td><td>Errors</td><td>Success Rate</td><td>Time Taken (ms)</td></tr>"; }  String getFileName(String scriptName); String getResultData(List<TestResult> listResult); String getHeader(); String getStringResult(final TestResult result); String getSummaryHeader(); String getSummaryData(TestSummary summary); String getSummaryFooter(); String getFooter(); String getSuiteLogFileName(); String getStartScript(); String getStopScript();  }### Answer:
@Test public void testGetSummaryHeader() { String expected = "<table class='summary'><tr><td>Test</td><td>Total Steps</td><td>Failures</td><td>Errors</td><td>Success Rate</td><td>Time Taken (ms)</td></tr>"; assertEquals(expected, formatter.getSummaryHeader()); }