@Test
    void verifyNoStaticSaltWithDynamicIterations() {
        val properties = new QueryEncodeJdbcAuthenticationProperties()
            .setAlgorithmName("SHA256")
            .setNumberOfIterationsFieldName("iterations")
            .setSaltFieldName("dynamicSalt");
        val encoder = new QueryAndEncodeDatabasePasswordEncoder(properties);
        val encoded = encoder.encode("p@$$w0rd", Map.of("dynamicSalt", DYNAMIC_SALT, "iterations", 1000));
        assertEquals("d14889d4eec75142f69f3620a629e6efa79ac92d11ef9214ee0dd4ddf7c0108c", 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