@Test
    void verifyFindSecurityQuestions() throws Throwable {
        val questions = passwordChangeService.getSecurityQuestions(PasswordManagementQuery.builder().username("changepassword").build());
        assertEquals(2, questions.size());
        assertTrue(questions.containsKey("DepartmentQuestion"));
        assertEquals("CompanyAnswer", questions.get("DepartmentQuestion"));
        assertTrue(questions.containsKey("DescriptionQuestion"));
        assertEquals("PhysicalDeliveryOfficeAnswer", questions.get("DescriptionQuestion"));
    }
This is {@link ActiveDirectoryPasswordManagementServiceTests}.
Change password handling is different for Active Directory and this test exercises that AD specific code branch.

@author Hal Deadman
@since 6.1.0
support/cas-server-support-pm-ldap/src/test/java/org/apereo/cas/pm/ActiveDirectoryPasswordManagementServiceTests.java