DeflateUncompressor implements Uncompressor { public void setInputBufferSize(int inputBufferSize) { this.inputBufferSize = inputBufferSize; }  boolean isNowrap(); int getInputBufferSize(); void setInputBufferSize(int inputBufferSize); int getOutputBufferSize(); void setOutputBufferSize(int outputBufferSize); void setNowrap(boolean nowrap); boolean isCaching(); void setCaching(boolean caching); void release(); @Override void uncompress(InputStream compressedIn, OutputStream uncompressedOut);  }
@Test public void testSetInputBufferSize() throws IOException { Assert.assertNotEquals(17, uncompressor.getInputBufferSize()); uncompressor.setInputBufferSize(17); Assert.assertEquals(17, uncompressor.getInputBufferSize()); uncompressor.uncompress(compressedContentIn, uncompressedContentOut); Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray()); }