@Test
    void verifyOperationByStore() throws Throwable {
        val tgt = new MockTicketGrantingTicket("casuser");
        ticketRegistry.addTicket(tgt);
        val response = new MockHttpServletResponse();
        val request = new MockHttpServletRequest();

        val profile = new BasicUserProfile();
        profile.addAttribute(TicketGrantingTicket.class.getName(), tgt.getId());

        val context = new JEEContext(request, response);
        val profileManager = new ProfileManager(context, samlIdPDistributedSessionStore);
        profileManager.save(true, profile, false);
        
        RequestContextHolder.setRequestAttributes(new ServletRequestAttributes(request, response));
        val authnRequest = getAuthnRequestFor("example");
        samlArtifactMap.put("artifact", "relying-party", "issuer", authnRequest);
        assertTrue(samlArtifactMap.contains("artifact"));
    }
This is {@link CasSamlArtifactMapTests}.

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