@Test
public void testCopyrightsIsParsedCorrectly() throws URISyntaxException {

    configureAnalyzer("dependencyWithMultipleCopyrights.csv", ",");
    Set<Artifact> artifacts = analyzer.yield().getArtifacts();
    assertThat(artifacts).hasSize(2);
    assertThat(artifacts.stream().map(artifact1 -> artifact1.askForGet(CopyrightStatement.class).get())
            .anyMatch(copyrightStatement ->
                    copyrightStatement.equals(new CopyrightStatement("Copyright 2005-2016 The Apache Software Foundation")
                            .mergeWith(new CopyrightStatement("Copyright 2020 Fake Company"))
                            .mergeWith(new CopyrightStatement("Copyright 2020 Fake the 2nd")).get()))).isTrue();
}