@Test
    void verifyOperation() throws Throwable {
        val request = new MockHttpServletRequest();
        val ctx = new JEEContext(request, new MockHttpServletResponse());
        new ProfileManager(ctx, new JEESessionStore()).removeProfiles();

        val token = oidcTokenSigningAndEncryptionService.encode(getOidcRegisteredService(), getClaims());
        val at = getAccessToken(token, "clientid");
        ticketRegistry.addTicket(at);
        val credentials = new TokenCredentials(at.getId());

        oauthAccessTokenAuthenticator.validate(new CallContext(ctx, new JEESessionStore()), credentials);

        val userProfile = credentials.getUserProfile();
        assertNotNull(userProfile);
        assertEquals("casuser", userProfile.getId());
        assertTrue(userProfile.containsAttribute("client_id"));
        assertTrue(userProfile.containsAttribute(OAuth20Constants.CLAIM_SUB));
        assertTrue(userProfile.containsAttribute(OidcConstants.ISS));
        assertTrue(userProfile.containsAttribute(OAuth20Constants.CLAIM_EXP));
        assertTrue(userProfile.containsAttribute(OidcConstants.AUD));
        assertTrue(userProfile.containsAttribute("email"));
    }
This is {@link OidcAccessTokenAuthenticatorTests}.

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