@Test
    void verifyOperation() throws Throwable {
        val accessToken = getAccessToken(UUID.randomUUID().toString());
        ticketRegistry.addTicket(accessToken);
        val tgt = new MockTicketGrantingTicket(accessToken.getAuthentication());
        val context = MockRequestContext.create(applicationContext);
        WebUtils.putTicketGrantingTicketInScopes(context, tgt);
        assertNull(oidcAccountProfileAccessTokensAction.execute(context));
        val oidcAccessTokens = context.getFlowScope().get("oidcAccessTokens", List.class);
        assertNotNull(oidcAccessTokens);
        assertEquals(1, oidcAccessTokens.size());
    }
This is {@link OidcAccountProfileAccessTokenActionTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/web/flow/account/OidcAccountProfileAccessTokenActionTests.java