private MockRequestContext getMockRequestContext() throws Exception {
        val context = MockRequestContext.create(applicationContext).withUserAgent().setClientInfo();
        return context;
    }
This is {@link DelegatedClientAuthenticationRedirectActionSamlTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-pac4j-saml/src/test/java/org/apereo/cas/web/saml2/DelegatedClientAuthenticationRedirectActionSamlTests.java