@Test
    void verifyOperation() throws Throwable {
        val uid = UUID.randomUUID().toString();
        val desc = consentDecisionBuilder.build(RegisteredServiceTestUtils.getService(),
            RegisteredServiceTestUtils.getRegisteredService(), uid,
            CoreAuthenticationTestUtils.getAttributes());
        consentRepository.storeConsentDecision(desc);

        var results = attributeConsentReportEndpoint.consentDecisions(uid);
        assertFalse(results.isEmpty());
        results = attributeConsentReportEndpoint.consentDecisions();
        assertFalse(results.isEmpty());

        val entity = attributeConsentReportEndpoint.export();
        assertEquals(HttpStatus.OK, entity.getStatusCode());

        assertTrue(attributeConsentReportEndpoint.revokeConsents(desc.getPrincipal(), desc.getId()));
        results = attributeConsentReportEndpoint.consentDecisions(uid);
        assertTrue(results.isEmpty());
    }
This is {@link AttributeConsentReportEndpointTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-consent-core/src/test/java/org/apereo/cas/consent/AttributeConsentReportEndpointTests.java