@Test
    void verifyBadRelayState() {
        val extractor = DelegatedClientNameExtractor.fromHttpRequest();
        val request = new MockHttpServletRequest();
        request.addParameter("RelayState", "https://....");
        val webContext = new JEEContext(request, new MockHttpServletResponse());
        assertTrue(extractor.extract(webContext).isEmpty());
    }
This is {@link DelegatedClientNameExtractorTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-pac4j-api/src/test/java/org/apereo/cas/integration/pac4j/DelegatedClientNameExtractorTests.java