@Test
void simpleReport() throws Exception {

    List<Artifact> artifacts = readIQDataToArtifacts("ReportWithTwoComponents.json");
    Map<String, IAttachable> map = generator.produce(artifacts);
    assertThat(map).hasSize(1);
    IAttachable attachable = map.get("cyclonedx-bom");
    assertThat(attachable.getClassifier()).isEqualTo("cyclonedx-bom");
    assertThat(attachable.getType()).isEqualTo("xml");
    File bomFile = attachable.getFile();
    Bom bom = new BomParser().parse(bomFile);
    assertThat(bom.getComponents()).hasSize(2);
}