@Test
    void verifySerialization() throws Throwable {
        val o = DistributedCacheObject.<String>builder()
            .value("objectValue")
            .publisherIdentifier(new PublisherIdentifier())
            .build();
        val file = new File(FileUtils.getTempDirectoryPath(), UUID.randomUUID() + ".json");
        MAPPER.writeValue(file, o);
        val readPolicy = MAPPER.readValue(file, DistributedCacheObject.class);
        assertEquals(o, readPolicy);
    }
This is {@link DistributedCacheObjectTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/cache/DistributedCacheObjectTests.java