public static Compressor getCompressor(CompressionType type) {
        return COMPRESSORS.get(type);
    }
@Test
    public void testGetCompressor_ReturnsCorrectType() {
        for (CompressionType type : CompressionType.values()) {
            Compressor compressor = CompressorFactory.getCompressor(type);
            Assert.assertTrue("Compressor type mismatch for " + type,
                compressor instanceof Lz4Compressor && type == CompressionType.LZ4 ||
                    compressor instanceof ZstdCompressor && type == CompressionType.ZSTD ||
                    compressor instanceof ZlibCompressor && type == CompressionType.ZLIB);
        }
    }