### Question:
OpenIdResolverCacheImpl implements OpenIdResolverCache { public OpenIdResolver getResolverForIssuer(String cryptoContextDefinitionValue) { return resolverMap.get(cryptoContextDefinitionValue); } @Inject  OpenIdResolverCacheImpl(OpenIdResolverFactory openIdResolverFactory); OpenIdResolver getResolverForIssuer(String cryptoContextDefinitionValue); @Override OpenIdResolver createResolver(String issuerFromJwk, String cryptoContextType, String cryptoContextValue,
                                         URL cryptoContextValueUrl);  }### Answer:
@Test public void testBasicLookup() throws MalformedURLException, FailedToLoadJWKException { createConfigResolver(); createJwtResolver(); createSecretResolver(); OpenIdResolver localConfigResolver = cache.getResolverForIssuer(FAUX_CONIFIG_URL_STRING); assertTrue(localConfigResolver == configResolver); OpenIdResolver localJwkResolver = cache.getResolverForIssuer(FAUX_JWK_URL_STRING); assertTrue(localJwkResolver == jwkResolver); OpenIdResolver localClientSecretResolver = cache.getResolverForIssuer(FAUX_CLIENT_SECRET); assertTrue(localClientSecretResolver == clientSecretResolver); }