private ConsentDecision getConsentDecision() {
        return consentDecisionBuilder.build(RegisteredServiceTestUtils.getService(),
            RegisteredServiceTestUtils.getRegisteredService("test"),
            "casuser", CollectionUtils.wrap("attr1", List.of("value1")));
    }
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