@Test
    void verifyOAuthService() throws Throwable {
        val service = getOAuthRegisteredService(UUID.randomUUID().toString(), RegisteredServiceTestUtils.CONST_TEST_URL);
        service.setJwtAccessTokenSigningAlg(AlgorithmIdentifiers.RSA_USING_SHA384);
        service.getProperties().put(RegisteredServiceProperties.ACCESS_TOKEN_AS_JWT_ENCRYPTION_ENABLED.getPropertyName(),
            new DefaultRegisteredServiceProperty("true"));
        val at = getAccessToken(service.getClientId());
        val encoded = oidcRegisteredServiceJwtAccessTokenCipherExecutor.encode(at.getId(), Optional.of(service));
        assertNotNull(encoded);
    }
This is {@link OidcRegisteredServiceJwtAccessTokenCipherExecutorTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/token/OidcRegisteredServiceJwtAccessTokenCipherExecutorTests.java