### Question:
OfflineConfigurationCacheRepo { static String urlToFileName(String url) { if (url == null || url.isEmpty()) { return ""; } return url.substring(url.indexOf(": } 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 urlToFileName() { assertEquals("", OfflineConfigurationCacheRepo.urlToFileName(null)); assertEquals("", OfflineConfigurationCacheRepo.urlToFileName("")); assertEquals("sso-dev_sbb_ch_auth_realms_SBB_Public", OfflineConfigurationCacheRepo.urlToFileName("http: assertEquals("sso-dev_sbb_ch_auth_realms_SBB_Public", OfflineConfigurationCacheRepo.urlToFileName("https: }