@Test
    public void testHttpSessionStoreGetterAndSetter() {
        final WebContext webContext = MockWebContext.create();

        val messageStoreFactory = configuration.getSamlMessageStoreFactory();
        val store = messageStoreFactory.getMessageStore(webContext, new MockSessionStore());

        SAML2ObjectBuilder<AuthnRequest> builder = new SAML2AuthnRequestBuilder();
        val context = buildContext();

        val authnRequest = builder.build(context);
        authnRequest.setAssertionConsumerServiceURL("https://pac4j.org");

        store.set(authnRequest.getID(), authnRequest);

        assertNotNull(store.get(authnRequest.getID()));
        assertEquals("https://pac4j.org", authnRequest.getAssertionConsumerServiceURL());
    }
This is {@link SAML2AuthnRequestBuilderTests}.

@author Misagh Moayyed
@since 4.0.0
pac4j-saml/src/test/java/org/pac4j/saml/sso/impl/SAML2AuthnRequestBuilderTests.java