private PrincipalResolver buildResolver(final List<PrincipalResolver> resolvers, final CasConfigurationProperties casProperties) {
        return new ChainingPrincipalResolver(new DefaultPrincipalElectionStrategy(),
            tenantExtractor, resolvers, casProperties);
    }
Unit test for {@link ChainingPrincipalResolver}.

@author Marvin S. Addison
@since 4.0.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/principal/ChainingPrincipalResolverTests.java