@Test
        void verifyUnknownPrincipal() throws Throwable {
            val context = MockRequestContext.create(applicationContext).withUserAgent();
            val webContext = new JEEContext(context.getHttpServletRequest(), context.getHttpServletResponse());

            val request = DelegatedAuthenticationDynamicDiscoveryProviderLocator.DynamicDiscoveryProviderRequest.builder()
                .userId("cas@unknown.org").build();
            assertTrue(delegatedAuthenticationDynamicDiscoveryProviderLocator.locate(request, webContext).isEmpty());
        }
This is {@link DefaultDelegatedAuthenticationDynamicDiscoveryProviderLocatorTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-pac4j-webflow/src/test/java/org/apereo/cas/pac4j/discovery/DefaultDelegatedAuthenticationDynamicDiscoveryProviderLocatorTests.java