@Test
    void verifySerializationToJson() throws IOException {
        val accessStrategy = new GroovyRegisteredServiceAccessStrategy();
        accessStrategy.setGroovyScript("classpath:GroovyServiceAccessStrategy.groovy");
        MAPPER.writeValue(JSON_FILE, accessStrategy);
        val strategyRead = MAPPER.readValue(JSON_FILE, GroovyRegisteredServiceAccessStrategy.class);
        assertEquals(accessStrategy, strategyRead);
    }
This is test cases for
{@link GroovyRegisteredServiceAccessStrategyTests}.

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