@Test
    void verifyOperation() {
        val service = getOidcRegisteredService();
        service.setJwksCacheDuration("PT0.005S");
        val policy = new OidcServiceJsonWebKeystoreCacheExpirationPolicy(casProperties);
        assertEquals(5_000_000, policy.expireAfterUpdate(new OidcJsonWebKeyCacheKey(service, OidcJsonWebKeyUsage.SIGNING),
            Optional.empty(), 1000, 1000));
    }
This is {@link OidcServiceJsonWebKeystoreCacheExpirationPolicyTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/jwks/OidcServiceJsonWebKeystoreCacheExpirationPolicyTests.java