@Test
    void verifyImportOperation() throws Throwable {
        val uid = UUID.randomUUID().toString();
        val toSave = consentDecisionBuilder.build(RegisteredServiceTestUtils.getService(),
            RegisteredServiceTestUtils.getRegisteredService(), uid,
            CoreAuthenticationTestUtils.getAttributes());
        val request = new MockHttpServletRequest();
        val content = MAPPER.writeValueAsString(toSave);
        request.setContent(content.getBytes(StandardCharsets.UTF_8));
        assertEquals(HttpStatus.CREATED, attributeConsentReportEndpoint.importAccount(request).getStatusCode());
    }
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