@Test
    void verifyStaticAndDynamicSalt() {
        val properties = new QueryEncodeJdbcAuthenticationProperties()
            .setAlgorithmName("SHA512")
            .setStaticSalt(STATIC_SALT)
            .setNumberOfIterations(100)
            .setSaltFieldName("dynamicSalt");
         val encoder = new QueryAndEncodeDatabasePasswordEncoder(properties);
         val encoded = encoder.encode("p@$$w0rd", Map.of("dynamicSalt", DYNAMIC_SALT));
         assertEquals("51072005fd3ecfc1edc22fc1eff611487defde788301991a667119ae32cecc7da1af6afed420b61318aa11151b0f6ec357c1869dc75acccdb5170273fad4e957", encoded);
    }
This is {@link QueryAndEncodeDatabasePasswordEncoderTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-jdbc-authentication/src/test/java/org/apereo/cas/jdbc/QueryAndEncodeDatabasePasswordEncoderTests.java