public void cachePluginData(final PluginData pluginData) {
        Optional.ofNullable(pluginData).ifPresent(data -> PLUGIN_MAP.put(data.getName(), data));
    }
@Test
    public void testCachePluginData() throws NoSuchFieldException, IllegalAccessException {
        PluginData pluginData = PluginData.builder().name(mockName1).build();
        ConcurrentHashMap<String, PluginData> pluginMap = getFieldByName(pluginMapStr);
        assertNull(pluginMap.get(mockName1));

        BaseDataCache.getInstance().cachePluginData(pluginData);
        assertNotNull(pluginMap.get(mockName1));
        assertEquals(pluginData, pluginMap.get(mockName1));
    }