### Question:
CompressionInputStream extends InputStream { public ICompressionProvider getCompressionProvider() { return compressionProvider; } CompressionInputStream( InputStream in, ICompressionProvider provider ); private  CompressionInputStream(); ICompressionProvider getCompressionProvider(); Object nextEntry(); @Override void close(); @Override int read(); @Override int read( byte[] b ); @Override int read( byte[] b, int off, int len );  }### Answer:
@Test public void getCompressionProvider() { ICompressionProvider provider = inStream.getCompressionProvider(); assertEquals( provider.getName(), PROVIDER_NAME ); }