@Test
    void verifyOperation() throws Throwable {
        val resource = oidcJsonWebKeystoreGeneratorService.generate();
        assertTrue(resource.exists());
        assertTrue(oidcJsonWebKeystoreGeneratorService.find().isPresent());
        assertDoesNotThrow(() -> {
            val results = new String(IOUtils.toByteArray(resource.getInputStream()), StandardCharsets.UTF_8);
            new JsonWebKeySet(results);
        });
    }
This is {@link OidcGroovyJsonWebKeystoreGeneratorServiceTests}.

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