@Test
        void verifyOperationForRedirectBinding() throws Throwable {
            val context = MockRequestContext.create(applicationContext);
            val registeredService = getSamlRegisteredServiceFor(false, false,
                false, "https://mocky.io");
            WebUtils.putRegisteredService(context.getHttpServletRequest(), registeredService);

            val logoutRequest = samlIdPLogoutResponseObjectBuilder.newLogoutRequest(
                UUID.randomUUID().toString(),
                ZonedDateTime.now(Clock.systemUTC()),
                "https://github.com/apereo/cas",
                samlIdPLogoutResponseObjectBuilder.newIssuer(registeredService.getServiceId()),
                UUID.randomUUID().toString(),
                samlIdPLogoutResponseObjectBuilder.newNameID(NameIDType.EMAIL, "cas@example.org"));
            try (val writer = SamlUtils.transformSamlObject(openSamlConfigBean, logoutRequest)) {
                val encodedRequest = EncodingUtils.encodeBase64(writer.toString().getBytes(StandardCharsets.UTF_8));
                WebUtils.putSingleLogoutRequest(context.getHttpServletRequest(), encodedRequest);
            }
            samlIdPSingleLogoutRedirectionStrategy.handle(context.getHttpServletRequest(), context.getHttpServletResponse());
            assertNotNull(WebUtils.getLogoutRedirectUrl(context.getHttpServletRequest(), String.class));
        }
This is {@link SamlIdPSingleLogoutRedirectionStrategyTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/web/idp/profile/slo/SamlIdPSingleLogoutRedirectionStrategyTests.java