@Test
    void verifyOperationWithSingleAuthn() {
        val strategy = new ChainingPrincipalElectionStrategy(new DefaultPrincipalElectionStrategy());
        val authentication = CoreAuthenticationTestUtils.getAuthentication();
        val principal = strategy.nominate(List.of(authentication), CoreAuthenticationTestUtils.getAttributes());
        assertNotNull(principal);
        assertEquals(principal, authentication.getPrincipal());
    }
This is {@link ChainingPrincipalElectionStrategyTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/principal/ChainingPrincipalElectionStrategyTests.java