public Map<String, String> getFullCwes() {
        final Map<String, String> map = new HashMap<>();
        cwes.forEach((cwe) -> map.put(cwe, CweDB.getName(cwe)));
        return map;
    }
@Test
    public void testGetFullCwes() {
        CweSet instance = new CweSet();
        instance.addCwe("CWE-89");
        instance.addCwe("CWE-79");
        Map<String, String> expResult = new HashMap<>();
        expResult.put("CWE-79", "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')");
        expResult.put("CWE-89", "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')");
        Map<String, String> result = instance.getFullCwes();
        for (Map.Entry<String,String> entry : expResult.entrySet()) {
            assertTrue(result.get(entry.getKey()).equals(entry.getValue()));
        }
    }