@Test
    public void testUnsupportedAlgorithm() {
        val config = new SecretEncryptionConfiguration(SECRET, JWEAlgorithm.ECDH_ES,
            EncryptionMethod.A128CBC_HS256);
        TestsHelper.expectException(config::init, TechnicalException.class,
            "Only the direct and AES algorithms are supported with the appropriate encryption method");
    }
Tests {@link SecretEncryptionConfiguration}.

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