@Test
public void generateHeader() throws IOException {

    ScesimModelDescriptor simulationDescriptor = new ScesimModelDescriptor();
    FactMapping test1FactMapping = createFactMapping(simulationDescriptor, 1);
    FactMapping test2FactMapping = createFactMapping(simulationDescriptor, 2);
    scenarioCsvImportExport.generateHeader(Arrays.asList(test1FactMapping, test2FactMapping), printer);
    System.out.println("output.toString() = " + output.toString());
    String[] result = output.toString().split("\r\n");
    assertEquals(3, result.length);
    assertEquals("GIVEN,GIVEN", result[0]);
    assertEquals(instanceName + 1 + "," + instanceName + 2, result[1]);
    assertEquals(propertyName + 1 + "," + propertyName + 2, result[2]);
}