@Test
    void verifySerialization() {
        val data = SerializationUtils.serialize(this.filter);
        val secondFilter =
            SerializationUtils.deserializeAndCheckObject(data, RegisteredServiceAttributeFilter.class);
        assertEquals(secondFilter, this.filter);
    }
This is {@link RegisteredServiceMutantRegexAttributeFilterTests}.

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