@Test
public void writeEmptyReleaseListToCSVFileTest() throws IOException {

    List<Artifact> emptyArtifacts = new ArrayList<>();
    CSVArtifactMapper csvArtifactMapper = new CSVArtifactMapper(csvFile.toPath(), StandardCharsets.UTF_8, DELIMITER, csvFile.getParentFile().toPath());
    csvArtifactMapper.writeArtifactsToCsvFile(emptyArtifacts);
    assertThat(csvFile.exists()).isTrue();
    withParser(csvParser -> {
        assertThat(csvParser.getHeaderMap().size()).isEqualTo(CSV_COLUMNS.length);
        assertThat(csvParser.getRecordNumber()).isEqualTo(0);
        return null;
    });
}