@Test
        void verifyAccessTokenIdEncodingWithJwtWithNoCipher() {
            val accessToken = getAccessToken();
            val registeredService = getRegisteredServiceForJwtAccessTokenWithoutKeys(accessToken);
            val encodedAccessToken1 = OAuth20JwtAccessTokenEncoder.toEncodableCipher(configurationContext, registeredService, accessToken).encode(accessToken.getId());
            assertNotNull(encodedAccessToken1);
            val encodedAccessToken2 = OAuth20JwtAccessTokenEncoder.toEncodableCipher(configurationContext, registeredService, accessToken).encode(accessToken.getId());
            assertEquals(encodedAccessToken1, encodedAccessToken2);
        }
This is {@link OAuth20JwtAccessTokenEncoderTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/web/response/accesstoken/OAuth20JwtAccessTokenEncoderTests.java