@Test
    void verifyFailsOperation() throws Throwable {
        val request = new MockHttpServletRequest();
        val ctx = new JEEContext(request, new MockHttpServletResponse());
        val at = getAccessToken();
        when(at.getScopes()).thenThrow(new IllegalArgumentException());
        ticketRegistry.addTicket(at);
        val credentials = new TokenCredentials(at.getId());
        getAuthenticator().validate(new CallContext(ctx, new JEESessionStore()), credentials);
        val userProfile = credentials.getUserProfile();
        assertNull(userProfile);
    }
This is {@link OidcClientConfigurationAccessTokenAuthenticatorTests}.

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