@Test
    void verifyDeflation() throws Throwable {
        val source = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
        val deflated = CompressionUtils.deflateToByteArray(source);
        val results = CompressionUtils.inflateToByteArray(deflated);
        assertEquals(source, new String(Objects.requireNonNull(results), StandardCharsets.UTF_8));
        assertNotNull(CompressionUtils.compress(source.getBytes(StandardCharsets.UTF_8)));
    }
This is {@link CompressionUtilsTests}.

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