@Test
public void printAuditLogLine() throws IOException {

    StringBuilder stringBuilder = new StringBuilder();
    CSVPrinter printer = getCSVPrinter(stringBuilder);
    AuditLogLine auditLogLine = getAuditLogLine();
    scenarioCsvDownloadReport.printAuditLogLine(auditLogLine, printer);
    String retrieved = stringBuilder.toString();
    List<String> data = Arrays.asList(String.valueOf(auditLogLine.getScenarioIndex()), "\"" + auditLogLine.getScenario() + "\"", String.valueOf(auditLogLine.getExecutionIndex()), "\"" + auditLogLine.getDecisionOrRuleName() + "\"", auditLogLine.getResult(), auditLogLine.getMessage().orElse(""));
    commonCheckRetrievedString(retrieved, data);
}