@Test
    void verifyEncodingWithNoCiphersForService() throws Throwable {
        val accessToken = getAccessToken(StringUtils.EMPTY, "encoding-service-clientid");
        val registeredService = getRegisteredServiceForJwtAccessTokenWithKeys(accessToken);

        val encoder = getAccessTokenEncodingCipher(accessToken, registeredService);
        val token1 = encoder.encode(accessToken.getId());
        val token2 = encoder.encode(accessToken.getId());
        assertEquals(token1, token2);

        val decodingCipher = getAccessTokenDecodingCipher(registeredService);
        val decoded1 = decodingCipher.decode(token1);
        val decoded2 = decodingCipher.decode(token2);
        assertEquals(decoded1, decoded2);
        assertEquals(accessToken.getId(), decoded1);
    }
This is {@link OidcJwtAccessTokenEncoderTests}.

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