InAppRemoteConfig { @VisibleForTesting @NonNull static InAppRemoteConfig defaultConfig() { TagGroupsConfig config = TagGroupsConfig.defaultConfig(); return new InAppRemoteConfig(config); } private  InAppRemoteConfig(@NonNull TagGroupsConfig tagGroupsConfig); @NonNull static InAppRemoteConfig fromJsonMap(@Nullable JsonMap remoteConfig); @Override boolean equals(Object o); @Override int hashCode(); @NonNull
    final TagGroupsConfig tagGroupsConfig; }
@Test public void testDefaultConfig() { InAppRemoteConfig config = InAppRemoteConfig.defaultConfig(); assertNotNull(config); assertNotNull(config.tagGroupsConfig); assertEquals(TimeUnit.MILLISECONDS.toSeconds(AudienceManager.DEFAULT_CACHE_MAX_AGE_TIME_MS), config.tagGroupsConfig.cacheMaxAgeInSeconds); assertEquals(TimeUnit.MILLISECONDS.toSeconds(AudienceManager.DEFAULT_CACHE_STALE_READ_TIME_MS), config.tagGroupsConfig.cacheStaleReadTimeSeconds); assertEquals(TimeUnit.MILLISECONDS.toSeconds(AudienceManager.DEFAULT_PREFER_LOCAL_DATA_TIME_MS), config.tagGroupsConfig.cachePreferLocalTagDataTimeSeconds); }