@Test
    void verifySerializeATimeBasedRegisteredServiceAccessStrategyToJson() throws IOException {
        val authWritten = new TimeBasedRegisteredServiceAccessStrategy();
        MAPPER.writeValue(JSON_FILE, authWritten);
        val credentialRead = MAPPER.readValue(JSON_FILE, TimeBasedRegisteredServiceAccessStrategy.class);
        assertEquals(authWritten, credentialRead);
    }
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