### Question:
SnappyCompressionInputStream extends CompressionInputStream { @Override public int read() throws IOException { return ( (SnappyInputStream) delegate ).read(); } SnappyCompressionInputStream( InputStream in, CompressionProvider provider ); @Override void close(); @Override int read(); @Override Object nextEntry();  }### Answer:
@Test public void testRead() throws IOException { assertEquals( inStream.available(), inStream.read( new byte[100], 0, inStream.available() ) ); }