public void processTestResultsShouldBuildUpCurrentResultAndFinalSummary() throws Exception {
FitNesseContext context = mock(FitNesseContext.class);
WikiTestPage page = new WikiTestPage(new WikiPageDummy("name", "content", null), null);
page.getData().setAttribute(PageData.PropertySUITES, "tag1");
WriterFactory writerFactory = mock(WriterFactory.class);
final TestResult testResult = new TestResult();
TestXmlFormatter formatter = new TestXmlFormatter(context , page.getSourcePage(), writerFactory) {
@Override
protected TestResult newTestResult() {
return testResult;
}