@Test
    void verifyChangePassword() throws Throwable {
        val request = new PasswordChangeRequest("casuser", "current-psw".toCharArray(), "password".toCharArray(), "password".toCharArray());
        assertTrue(passwordChangeService.change(request));
    }
This is {@link GroovyResourcePasswordManagementServiceTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-pm/src/test/java/org/apereo/cas/pm/impl/GroovyResourcePasswordManagementServiceTests.java