public DescriptionEcosystemMapper() {
        ahoCorasickDoubleArrayTrie = toAhoCorasickDoubleArrayTrie();
    }
@Test
    public void testDescriptionEcosystemMapper() throws IOException {
        DescriptionEcosystemMapper mapper = new DescriptionEcosystemMapper();
        Map<String, File> ecosystemFiles = getEcosystemFiles();
        for (Entry<String, File> entry : ecosystemFiles.entrySet()) {
            try (BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream(entry.getValue()), StandardCharsets.UTF_8))) {
                String description;
                while ((description = bufferedReader.readLine()) != null) {
                    if (description.length() > 0 && !description.startsWith("#")) {
                        String ecosystem = mapper.getEcosystem(asCve(description));
                        if (entry.getKey().equals("null")) {
                            assertNull(description, ecosystem);
                        } else {
                            assertEquals(description, entry.getKey(), ecosystem);
                        }
                    }
                }
            }
        }
    }