### Question:
SnappyCompressionInputStream extends CompressionInputStream { @Override public void close() throws IOException { ( (SnappyInputStream) delegate ).close(); } SnappyCompressionInputStream( InputStream in, CompressionProvider provider ); @Override void close(); @Override int read(); @Override Object nextEntry();  }### Answer:
@Test public void testClose() throws IOException { inStream = new SnappyCompressionInputStream( createSnappyInputStream(), provider ); inStream.close(); }