@Test
public void testRelease() {

  compressor.setCaching(true);
  Deflater deflater1 = compressor.createOrResetDeflater();
  compressor.release();
  Deflater deflater2 = compressor.createOrResetDeflater();
  Assert.assertNotSame(deflater1, deflater2);
}