@Override
    protected boolean updateCacheIfNeed(final ConfigData<AppAuthData> result) {
        return updateCacheIfNeed(result, ConfigGroupEnum.APP_AUTH);
    }
@Test
    public void testUpdateCacheIfNeed() {
        final AppAuthDataRefresh appAuthDataRefresh = mockAppAuthDataRefresh;
        // update cache, then assert equals
        ConfigData<AppAuthData> expect = new ConfigData<>();
        expect.setLastModifyTime(System.currentTimeMillis());
        appAuthDataRefresh.updateCacheIfNeed(expect);
        assertThat(appAuthDataRefresh.cacheConfigData(), is(expect));
    }