@Test
    public void testBadAlgorithm() {
        val config = new ECSignatureConfiguration(buildKeyPair(), JWSAlgorithm.HS256);
        TestsHelper.expectException(config::init, TechnicalException.class,
            "Only the ES256, ES384 and ES512 algorithms are supported for elliptic curve signature");
    }
Tests {@link ECSignatureConfiguration}.

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