@Test
    void verifyAttributesRequireConsent() {
        val consentDecision = getConsentDecision();
        assertTrue(consentDecisionBuilder.doesAttributeReleaseRequireConsent(consentDecision,
            CollectionUtils.wrap("attr2", List.of("value2"))));
        assertFalse(consentDecisionBuilder.doesAttributeReleaseRequireConsent(consentDecision,
            CollectionUtils.wrap("attr1", List.of("something"))));
    }
This is {@link DefaultConsentDecisionBuilderTests}.

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