### Question:
OfflineConfigurationCacheRepo { static String configBaseFileName(final ConfigType configType, final String[] ids) { if (configType.isAppendBasename()) { return configType.getId() + "_" + String.join("_", Arrays.asList(ids)); } else { return String.join("_", Arrays.asList(ids)); } } OfflineConfigurationCacheRepo(final String apimAdapterCacheLocation); static OfflineConfigurationCacheRepo disabled(); boolean persistMetricConfig(final String serviceId, final String metricConfig); boolean persistProxyConfig(final String serviceId, final String proxyConfig); boolean persistPlanConfig(final String serviceId, final String clientId, final String planConfig); boolean persistMappingRulesConfig(final String serviceId, final String mappingRulesConfig); boolean persistOidc(String tokenIssuerUrl, String oidc); boolean persistJwks(String jwksUrl, String jwks); String findMetricConfig(final String serviceId); String findProxyConfig(final String serviceId); String findPlanConfig(final String serviceId, final String clientId); String findMappingRulesConfig(final String serviceId); String findOidc(String tokenIssuerUrl); String findJwks(String jwksUrl); boolean deletePlanConfig(final String serviceId, final String clientId); OfflineConfigurationState getState();  }### Answer:
@Test public void testConfigBaseFileName() { assertEquals("mapping-rules_serviceA", configBaseFileName(ConfigType.MAPPING_RULES, new String[]{"serviceA"})); assertEquals("plan_serviceA_clientA", configBaseFileName(ConfigType.PLAN, new String[]{"serviceA", "clientA"})); }