@Test
    void verifyBorrowAndDecode() {
        val data = new CachedData(0, ArrayUtils.EMPTY_BYTE_ARRAY, 10);
        assertThrows(KryoException.class, () -> transcoder.decode(data));
        
        if (transcoder instanceof final CasKryoTranscoder enc) {
            assertNotNull(enc.getKryo());
        }
    }
Unit test for {@link CasKryoTranscoder} class.

@author Marvin S. Addison
@since 3.0.0
support/cas-server-support-memcached-core/src/test/java/org/apereo/cas/memcached/kryo/CasKryoTranscoderTests.java