@Test
    void verifyConsentUndefined() throws Throwable {
        val registeredService = getRegisteredServiceWithConsentStatus(TriStateBoolean.UNDEFINED);
        val service = CoreAuthenticationTestUtils.getWebApplicationService(registeredService.getServiceId());
        assertTrue(getConsentActivationStrategy().isConsentRequired(service, registeredService,
            CoreAuthenticationTestUtils.getAuthentication(), new MockHttpServletRequest()));
    }
This is {@link BaseConsentActivationStrategyTests}.

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