@Test
    void verifyUnknownJwks() {
        val props = new CasConfigurationProperties();
        props.getAuthn().getOauth().getUma().getCore().setIssuer("cas");
        val jwks = new ClassPathResource("nothing.jwks");
        props.getAuthn().getOauth().getUma().getRequestingPartyToken().getJwksFile().setLocation(jwks);
        val signingService = new UmaRequestingPartyTokenSigningService(props);
        assertThrows(IllegalArgumentException.class, () -> signingService.getJsonWebKeySigningKey(Optional.empty()));
        val service = getRegisteredService(UUID.randomUUID().toString(), UUID.randomUUID().toString());
        assertEquals(JsonWebTokenSigner.ALGORITHM_ALL_EXCEPT_NONE, signingService.getAllowedSigningAlgorithms(service));
    }
This is {@link UmaRequestingPartyTokenSigningServiceTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-oauth-uma/src/test/java/org/apereo/cas/uma/ticket/rpt/UmaRequestingPartyTokenSigningServiceTests.java