@Test
    void verifyOperation() {
        val id = UUID.randomUUID().toString();
        val credential = new DuoSecurityUniversalPromptCredential(id, CoreAuthenticationTestUtils.getAuthentication());
        credential.setProviderId(id);
        assertNotNull(credential.getAuthentication());
        assertEquals(id, credential.getId());
        assertEquals(id, credential.getToken());
        assertEquals(id, credential.getProviderId());
    }
This is {@link DuoSecurityUniversalPromptCredentialTests}.

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