@Test
    void verifyOperation() throws Throwable {
        val resource = oidcJsonWebKeystoreGeneratorService.generate();
        assertTrue(resource.exists());

        assertTrue(oidcJsonWebKeystoreGeneratorService.find().isPresent());

        val jwks = new JsonWebKeySet(OidcJsonWebKeystoreGeneratorService.generateJsonWebKey(
            casProperties.getAuthn().getOidc(), OidcJsonWebKeyUsage.SIGNING));
        assertNotNull(oidcJsonWebKeystoreGeneratorService.store(jwks));
    }
This is {@link OidcRestfulJsonWebKeystoreGeneratorServiceTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/jwks/generator/OidcRestfulJsonWebKeystoreGeneratorServiceTests.java