private RequestContext getRequestContext(final String username) throws Exception {
        val context = MockRequestContext.create(applicationContext);
        context.setParameter(PasswordlessRequestParser.PARAMETER_USERNAME, username);
        return context;
    }
This is {@link VerifyPasswordlessAccountAuthenticationActionTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-passwordless-webflow/src/test/java/org/apereo/cas/web/flow/VerifyPasswordlessAccountAuthenticationActionTests.java