@Test
    public void testSignVerify() throws JOSEException {
        val config = new ECSignatureConfiguration(buildKeyPair());
        if (TestsHelper.getJdkVersion() > 17) {
            config.setAlgorithm(JWSAlgorithm.ES384);
        }
        val claims = new JWTClaimsSet.Builder().subject(VALUE).build();
        val signedJwt = config.sign(claims);
        assertTrue(config.verify(signedJwt));
    }
Tests {@link ECSignatureConfiguration}.

@author Jerome Leleu
@since 1.9.2
pac4j-jwt/src/test/java/org/pac4j/jwt/config/signature/ECSignatureConfigurationTests.java