private void storeAuthnRequest(final MockHttpServletRequest request, final MockHttpServletResponse response,
                                       final AuthnRequest authnRequest, final MessageContext context) throws Throwable {
            request.addParameter(SamlIdPConstants.AUTHN_REQUEST_ID, authnRequest.getID());
            SamlIdPSessionManager.of(openSamlConfigBean, samlIdPDistributedSessionStore)
                .store(new JEEContext(request, response), Pair.of(authnRequest, context));
        }
This is {@link SSOSamlIdPProfileCallbackHandlerControllerTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/web/idp/profile/sso/SSOSamlIdPProfileCallbackHandlerControllerTests.java