@Test
    void verifyOperation() {
        val result = DuoSecurityAuthenticationResult.builder().success(true).username("casuser").build();
        assertNotNull(result.getUsername());
        assertNotNull(result.getAttributes());
        assertNotNull(result.toString());
        assertTrue(result.isSuccess());
    }
This is {@link DuoSecurityAuthenticationResultTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-duo-core-mfa/src/test/java/org/apereo/cas/adaptors/duo/authn/DuoSecurityAuthenticationResultTests.java