private static UmaPermissionTicket getUmaPermissionTicket(final String ticketId) {
        val permissionTicket = mock(UmaPermissionTicket.class);
        when(permissionTicket.getId()).thenReturn(ticketId);
        when(permissionTicket.isExpired()).thenReturn(Boolean.FALSE);
        when(permissionTicket.getClaims()).thenReturn(new HashMap<>());
        when(permissionTicket.getCreationTime()).thenReturn(ZonedDateTime.now(Clock.systemUTC()));
        when(permissionTicket.getExpirationPolicy()).thenReturn(NeverExpiresExpirationPolicy.INSTANCE);
        return permissionTicket;
    }
This is {@link UmaRequestingPartyClaimsCollectionEndpointControllerTests}.

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