@Test
public void testCsvAnalyzerWithSemicolonseparator() throws URISyntaxException {

    configureAnalyzer("dependenciesWithExcelFormat.csv", ";");
    Set<Artifact> artifacts = analyzer.yield().getArtifacts();
    assertThat(artifacts).hasSize(2);
    Artifact foundArtifact = artifacts.stream()
            .filter(artifact -> "commons-csv".equals(artifact.getCoordinateForType(PackageURL.StandardTypes.MAVEN)
                    .map(Coordinate::getName)
                    .orElse("")))
            .findFirst()
            .get();
    commonsCsvFullDependencyCheck(foundArtifact);
    assertThat(foundArtifact.askFor(CopyrightStatement.class).get())
            .isEqualTo(new CopyrightStatement("Copyright 2005-2016 The Apache Software Foundation")
                    .mergeWith(new CopyrightStatement("Copyright, 2020 the fake"))
                    .mergeWith(new CopyrightStatement("Copyright fake; the third")));
    List<String> hashes = foundArtifact.askFor(ArtifactFilename.class).get().
            getArtifactFilenameEntries().stream()
            .map(ArtifactFilename.ArtifactFilenameEntry::getHash)
            .collect(Collectors.toList());
    assertThat(hashes).hasSize(2);
    Artifact cliArtifact = artifacts.stream()
            .filter(artifact -> "commons-cli".equals(artifact.getCoordinateForType(PackageURL.StandardTypes.MAVEN)
                            .map(Coordinate::getName)
                            .orElse("")))
            .findFirst()
            .get();
    assertThat(cliArtifact.askFor(CopyrightStatement.class).get()).isEqualTo(
            new CopyrightStatement("Copyright 2005-2016 The Apache Software Foundation")
                    .mergeWith(new CopyrightStatement("copy & paste"))
                    .mergeWith(new CopyrightStatement("this is $ it"))
                    .mergeWith(new CopyrightStatement("!nevermind"))
                    .mergeWith(new CopyrightStatement("§copsright"))
                    .mergeWith(new CopyrightStatement("%gsp"))
                    .mergeWith(new CopyrightStatement("?"))
                    .mergeWith(new CopyrightStatement("`wer`"))
                    .mergeWith(new CopyrightStatement("#wtewp"))
                    .mergeWith(new CopyrightStatement("~fjd"))
    );
}