private void verifyGeneration(final OidcProperties properties) throws Throwable {
            val file = Files.createTempFile(RandomUtils.randomAlphabetic(6), ".jwks").toFile();
            properties.getJwks().getFileSystem().setJwksFile(file.getAbsolutePath());
            val service = new OidcDefaultJsonWebKeystoreGeneratorService(properties, applicationContext);
            service.generate(new FileSystemResource(file));
            assertTrue(file.exists());
            service.destroy();
        }
This is {@link OidcDefaultJsonWebKeystoreGeneratorServiceTests}.

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