@Test
    void verifyMismatchedQuestionsAndAnswers() throws Throwable {
        val context = prepareContext();
        context.setParameter("questions", new String[]{"question1", "question2", "question3"});
        context.setParameter("answers", new String[]{"answer1", "answer2"});
        val result = accountProfileUpdateSecurityQuestionsAction.execute(context);
        assertEquals(CasWebflowConstants.TRANSITION_ID_ERROR, result.getId());
    }
This is {@link AccountProfileUpdateSecurityQuestionsActionTests}.

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