public static synchronized void setCache(Map<Pair<String, String>, String> cache) {
        CpeEcosystemCache.cache = cache;
        CpeEcosystemCache.changed = new HashMap<>();
    }
@Test
    public void testSetCache() {
        Map<Pair<String, String>, String> map = new HashMap<>();
        CpeEcosystemCache.setCache(map);
        assertTrue(CpeEcosystemCache.isEmpty());

        map = new HashMap<>();
        Pair<String, String> key = new Pair<>("apache", "zookeeper");
        map.put(key, "java");
        CpeEcosystemCache.setCache(map);

        assertFalse(CpeEcosystemCache.isEmpty());
    }