@Test
    void checkExpressionLanguage() {
        val authz = new TimeBasedRegisteredServiceAccessStrategy();
        authz.setStartingDateTime("${#localStartDay}");
        authz.setEndingDateTime("${#localEndDay}");
        authz.setZoneId("${#zoneId}");
        assertTrue(authz.isServiceAccessAllowed(RegisteredServiceTestUtils.getRegisteredService(), CoreAuthenticationTestUtils.getService()));
    }
The {@link TimeBasedRegisteredServiceAccessStrategyTests} is responsible for
running test cases for {@link TimeBasedRegisteredServiceAccessStrategy}.

@author Misagh Moayyed
@since 4.2
core/cas-server-core-services/src/test/java/org/apereo/cas/services/TimeBasedRegisteredServiceAccessStrategyTests.java