@Test
public void testCompress() throws IOException {

  compressor.compress(rawContentIn, compressedContentOut);
  Assert.assertTrue(compressedContentOut.size() > 0);
  Assert.assertTrue(compressedContentOut.size() < CONTENT.length);
  byte[] uncompressed =
      uncompressWithJavaInflater(compressor.isNowrap(), compressedContentOut.toByteArray());
  Assert.assertArrayEquals(CONTENT, uncompressed);
}