### Question:
JUnitFormatter implements Formatter { public String getFooter() { return "</testcase></testsuite>"; }  String getFileName(String scriptName); String getFooter(); String getSuiteLogFileName(); String getHeader(); String getResultData(List<TestResult> listResult); String getStartScript(); String getStopScript(); String getSummaryData(TestSummary summary); String getStringResult(final TestResult result); String getSummaryFooter(); String getSummaryHeader();  }### Answer:
@Test public void testGetFooter() { String expected = "</testcase></testsuite>"; assertEquals(expected, formatter.getFooter()); }