private ArtifactResolve getArtifactResolve() {
        var builder = (SAMLObjectBuilder) openSamlConfigBean.getBuilderFactory()
            .getBuilder(ArtifactResolve.DEFAULT_ELEMENT_NAME);
        val request = (ArtifactResolve) builder.buildObject();
        builder = (SAMLObjectBuilder) openSamlConfigBean.getBuilderFactory()
            .getBuilder(Issuer.DEFAULT_ELEMENT_NAME);
        val issuer = (Issuer) builder.buildObject();
        issuer.setValue(samlRegisteredService.getServiceId());
        request.setIssuer(issuer);


        builder = (SAMLObjectBuilder) openSamlConfigBean.getBuilderFactory()
            .getBuilder(Artifact.DEFAULT_ELEMENT_NAME);
        val artifact = (Artifact) builder.buildObject();
        artifact.setValue("https://cassp.example.org");
        request.setArtifact(artifact);
        return request;

    }
This is {@link SamlIdPSaml1ArtifactResolutionProfileHandlerControllerTests}.

@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/SamlIdPSaml1ArtifactResolutionProfileHandlerControllerTests.java