@Test
    void verifyWriter() {
        val writer = new StringWriter();
        serializer.to(writer, new CasRegisteredService());
        assertNotNull(serializer.from(writer));
    }
This is {@link RegisteredServiceJsonSerializerTests}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/util/RegisteredServiceJsonSerializerTests.java