@Override
    protected boolean updateCacheIfNeed(final ConfigData<PluginData> result) {
        return updateCacheIfNeed(result, ConfigGroupEnum.PLUGIN);
    }
@Test
    public void testUpdateCacheIfNeed() {
        final PluginDataRefresh pluginDataRefresh = mockPluginDataRefresh;
        // update cache, then assert equals
        ConfigData<PluginData> expect = new ConfigData<>();
        expect.setLastModifyTime(System.currentTimeMillis());
        pluginDataRefresh.updateCacheIfNeed(expect);
        assertThat(pluginDataRefresh.cacheConfigData(), is(expect));
    }