public void test_aggregatorSampleTest() throws IOException, TransformerException, ParserConfigurationException {
JunitresultAggregator aggregator = new JunitresultAggregator();
File root = TestDataProvider.getTestFile(new Path("testData/allresults/"));
JunitResult result = aggregator.aggregate(root, root);
assertTrue(result instanceof Testsuites);
Testsuites testsuite = (Testsuites) result;
assertEquals("allresults", testsuite.getName());
assertEquals(1, testsuite.getErrors());
assertEquals(13, testsuite.getTests());
assertEquals(7, testsuite.getFailures());
JunitresultDomSerializer serializer = new JunitresultDomSerializer();
File outputDir = TestDataProvider.getTestFile(new Path("output/"));
File output = new File(outputDir, "sample_result.xml");
if(!output.exists())