private MockRequestContext prepareContext() throws Throwable {
        val context = MockRequestContext.create();
        val tgt = new MockTicketGrantingTicket("casuser");
        WebUtils.putTicketGrantingTicketInScopes(context, tgt);
        WebUtils.putTicketGrantingTicket(context, tgt);
        ticketRegistry.addTicket(tgt);
        return context;
    }
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