@Test
    void verifyOperation() {
        assertNotNull(endpoint);
        var record = MultifactorAuthenticationTrustRecord.newInstance(UUID.randomUUID().toString(), "geography", "fingerprint");
        record = mfaTrustEngine.save(record);
        assertFalse(endpoint.devices().isEmpty());
        assertFalse(endpoint.devicesForUser(record.getPrincipal()).isEmpty());

        endpoint.revoke(record.getRecordKey());
        assertTrue(endpoint.devices().isEmpty());
        assertTrue(endpoint.devicesForUser(record.getPrincipal()).isEmpty());
    }
This is {@link MultifactorAuthenticationTrustedDevicesReportEndpointTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-trusted-mfa/src/test/java/org/apereo/cas/trusted/web/MultifactorAuthenticationTrustedDevicesReportEndpointTests.java