@After
    public void tearDown() throws Exception {
        pool.shutdown();
        pool.awaitTermination(100, TimeUnit.SECONDS);
        final Xpp3Dom results = xmlRunListener.getResults();
        assertAllTestCasesHaveRequiredElements(results);
        assertEquals(700, results.getChildCount());
        assertEquals(500, countTestsWithExternalIdfinal(results));
        assertEquals(200, countIgnoredTests(results));
        final PrintStream stream = new PrintStream(new File("target/parallel-testlink.xml"));
        try {
            stream.print(results.toString());
        } finally {
            stream.close();
        }
    }