@Test
public void testOutputHtmlForAllSplit() {

    ExportSettings exportSettings = createExportSettings(true, true, true, true, false, true, true, false, false);
    List<File> result = exporter.exportReport(exportSettings, tripToExport.getParticipant(), tripToExport,
            resourceResolver,
            new ActivityResolver() {
                @Override
                public Object getActivity() {
                    return null;
                }
            },
            amountFactory);
    Throwable exceptionCaught = null;
    try {
        Assert.assertEquals(3, result.size());
        Assert.assertTrue(patternHtmlIndividual.matcher(result.get(0).getName()).matches());
        Assert.assertTrue(patternHtmlIndividual.matcher(result.get(1).getName()).matches());
        Assert.assertTrue(patternHtmlIndividual.matcher(result.get(2).getName()).matches());
        for (int i = 0; i < result.size(); i++) {
            String name;
            if (i == 0) {
                name = factory.chris.getName();
            }
            else if (i == 1) {
                name = factory.niko.getName();
            }
            else {
                name = factory.wolfram.getName();
            }
            Assert.assertTrue(nameContains(result.get(i), name));
        }
    }
    catch (Exception e) {
        exceptionCaught = e;
    }
    finally {
        deleteCreatedFiles(result);
    }
    if (exceptionCaught != null) {
        throw new RuntimeException(exceptionCaught);
    }
}