@Test
    void verifyPasswordChangedFails() throws Throwable {
        val credential = new UsernamePasswordCredential("caspm", "123456");
        val bean = new PasswordChangeRequest();
        bean.setConfirmedPassword("Mellon".toCharArray());
        bean.setPassword("Mellon".toCharArray());
        bean.setUsername(credential.getUsername());
        bean.setCurrentPassword("123456".toCharArray());
        assertTrue(passwordChangeService.change(bean));
    }
This is {@link OpenLdapPasswordManagementServiceTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-pm-ldap/src/test/java/org/apereo/cas/pm/OpenLdapPasswordManagementServiceTests.java