@Test
    void verifyOperation() throws Throwable {
        val input = new UmaRequestingPartyTokenAuthenticator(ticketRegistry, accessTokenJwtBuilder);
        val token = getAccessToken();
        val credentials = new TokenCredentials(token.getId());
        ticketRegistry.addTicket(token);
        assertThrows(CredentialsException.class, () -> {
            val webContext = new JEEContext(new MockHttpServletRequest(), new MockHttpServletResponse());
            input.validate(new CallContext(webContext, new JEESessionStore()), credentials);
        });
    }
This is {@link UmaRequestingPartyTokenAuthenticatorTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oauth-uma/src/test/java/org/apereo/cas/uma/web/authn/UmaRequestingPartyTokenAuthenticatorTests.java