@Test
public void testMapLicenses() throws URISyntaxException, IOException {

    Path recordFilePath = Paths.get(".", "target", "foo");
    JsonReader jsonReader = new JsonReader(recordFilePath, Paths.get("tmp"), StandardCharsets.UTF_8);
    URI uri = this.getClass().getClassLoader().getResource("JsonReaderTest/data.json").toURI();
    InputStream iStream = Files.newInputStream(Paths.get(uri));
    artifacts = jsonReader.createArtifactsList(iStream);
    assertThat(artifacts.get(0).askForGet(DeclaredLicenseInformation.class).get().evaluate()).isEqualTo("( license1 AND license2 AND license3 )");
}