@Test
    void verifyOperationWithoutAuthn() throws Throwable {
        val registeredService = CoreAuthenticationTestUtils.getRegisteredService();
        val resultBuilder = new DefaultAuthenticationResultBuilder(principalElectionStrategy);
        val credential = CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword();
        assertTrue(surrogatePrincipalBuilder.buildSurrogateAuthenticationResult(resultBuilder, credential, registeredService).isEmpty());
    }
This is {@link DefaultSurrogateAuthenticationPrincipalBuilderTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-surrogate-authentication/src/test/java/org/apereo/cas/authentication/DefaultSurrogateAuthenticationPrincipalBuilderTests.java