@Test public void generateAuditLogHeaderRULE() throws IOException { StringBuilder stringBuilder = new StringBuilder(); CSVPrinter printer = getCSVPrinter(stringBuilder); scenarioCsvDownloadReport.generateAuditLogHeader(printer, RULE); String retrieved = stringBuilder.toString(); commonCheckHeader(RULE_AUDIT_HEADER, retrieved); }
protected void generateAuditLogHeader(CSVPrinter printer, ScenarioSimulationModel.Type modelType) throws IOException { if (ScenarioSimulationModel.Type.DMN.equals(modelType)) { printer.printRecord(DMN_AUDIT_HEADER); } else { printer.printRecord(RULE_AUDIT_HEADER); } }
ScenarioCsvDownloadReport { protected void generateAuditLogHeader(CSVPrinter printer, ScenarioSimulationModel.Type modelType) throws IOException { if (ScenarioSimulationModel.Type.DMN.equals(modelType)) { printer.printRecord(DMN_AUDIT_HEADER); } else { printer.printRecord(RULE_AUDIT_HEADER); } } }
ScenarioCsvDownloadReport { protected void generateAuditLogHeader(CSVPrinter printer, ScenarioSimulationModel.Type modelType) throws IOException { if (ScenarioSimulationModel.Type.DMN.equals(modelType)) { printer.printRecord(DMN_AUDIT_HEADER); } else { printer.printRecord(RULE_AUDIT_HEADER); } }  }
ScenarioCsvDownloadReport { protected void generateAuditLogHeader(CSVPrinter printer, ScenarioSimulationModel.Type modelType) throws IOException { if (ScenarioSimulationModel.Type.DMN.equals(modelType)) { printer.printRecord(DMN_AUDIT_HEADER); } else { printer.printRecord(RULE_AUDIT_HEADER); } }  String getReport(SimulationRunMetadata simulationRunMetadata, ScenarioSimulationModel.Type modelType); }
ScenarioCsvDownloadReport { protected void generateAuditLogHeader(CSVPrinter printer, ScenarioSimulationModel.Type modelType) throws IOException { if (ScenarioSimulationModel.Type.DMN.equals(modelType)) { printer.printRecord(DMN_AUDIT_HEADER); } else { printer.printRecord(RULE_AUDIT_HEADER); } }  String getReport(SimulationRunMetadata simulationRunMetadata, ScenarioSimulationModel.Type modelType);  }