@Test
    void verifyOperation() {
        assertDoesNotThrow((ThrowingSupplier<UnresolvedPrincipalException>) UnresolvedPrincipalException::new);
        assertDoesNotThrow(() -> new UnresolvedPrincipalException(CoreAuthenticationTestUtils.getAuthentication()));
        assertDoesNotThrow(() -> new UnresolvedPrincipalException(new FailedLoginException()));
        assertDoesNotThrow(() -> new UnresolvedPrincipalException(Map.of("Failure", new FailedLoginException())));
        assertDoesNotThrow(() -> new UnresolvedPrincipalException(CoreAuthenticationTestUtils.getAuthentication(), new FailedLoginException()));
    }
This is {@link UnresolvedPrincipalExceptionTests}.

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