@Test
    void verifyResetQs() throws Throwable {
        val context = MockRequestContext.create();
        PasswordManagementWebflowUtils.putPasswordResetSecurityQuestions(context, List.of("Q1", "Q2"));
        WebUtils.putPasswordPolicyPattern(context, ".*");
        assertFalse(PasswordManagementWebflowUtils.getPasswordResetQuestions(context, List.class).isEmpty());
    }
This is {@link PasswordManagementWebflowUtilsTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-pm-webflow/src/test/java/org/apereo/cas/pm/web/flow/PasswordManagementWebflowUtilsTests.java