@Test
    void verifyMismatchedClaims() throws Throwable {
        val permissionTicket = getPermissionTicketWith(List.of("delete", "open"));
        val results = authenticateUmaRequestWithAuthorizationScope();

        val authzRequest = new UmaAuthorizationRequest()
            .setGrantType(OAuth20GrantTypes.UMA_TICKET.getType())
            .setTicket(permissionTicket)
            .toJson();

        val permission = new ResourceSetPolicyPermission();
        permission.getClaims().put("lastName", "Apereo");

        val ticket = ticketRegistry.getTicket(permissionTicket, UmaPermissionTicket.class);
        ticket.getResourceSet().getScopes().add("hello");
        val resourceSetPolicy = new ResourceSetPolicy().setId(2000);
        resourceSetPolicy.getPermissions().add(permission);
        ticket.getResourceSet().getPolicies().add(resourceSetPolicy);
        val response = umaAuthorizationRequestEndpointController.handleAuthorizationRequest(authzRequest,
            results.getLeft(), results.getMiddle());
        assertEquals(HttpStatus.PERMANENT_REDIRECT, response.getStatusCode());
    }
This is {@link UmaAuthorizationRequestEndpointControllerTests}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-oauth-uma/src/test/java/org/apereo/cas/uma/web/controllers/authz/UmaAuthorizationRequestEndpointControllerTests.java