@Test
    void verifyOperation() {
        val registeredService = getOidcRegisteredService(UUID.randomUUID().toString());
        assertNull(registeredService.getJwksKeyId());
        assertNull(registeredService.getIdTokenSigningAlg());
        val serializer = new RegisteredServiceJsonSerializer(applicationContext);
        val serialized = serializer.toString(registeredService);
        val processedService = (OidcRegisteredService) serializer.from(serialized);
        assertEquals("12345", processedService.getJwksKeyId());
        assertEquals("SHA512", processedService.getIdTokenSigningAlg());
    }
This is {@link OidcRegisteredServiceInjectablesTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/services/OidcRegisteredServiceInjectablesTests.java