configureExport(new ExportConf.Builder("xml").header(true).build());
processExport(new XmlExport());
// The header must exist
Scanner scanner = new Scanner(new String(baos.toByteArray()));
String firstLine = scanner.nextLine();
assertThat(firstLine).contains("<?xml version=\"1.0\"?>");
assertThat(firstLine).contains("<persons>");
assertThat(firstLine).contains("</persons>");
assertThat(firstLine).contains("<person id=\"1\" firstName=\"Selma\" lastName=\"Maldonado\" city=\"\" mail=\"venenatis@Duisvolutpat.com\"></person><person id=\"2\" firstName=\"Vanna\" lastName=\"Salas\" city=\"Denny\" mail=\"bibendum.fermentum.metus@ante.ca\"></person>");