### Question:
JUnitFormatter implements Formatter { public String getFileName(String scriptName) { return "TEST-" + scriptName + ".xml"; }  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 testGetFileName() { assertEquals("TEST-test.xml", formatter.getFileName("test")); }