### Question:
ZIPCompressionInputStream extends CompressionInputStream { @Override public void close() throws IOException { ZipInputStream zis = (ZipInputStream) delegate; if ( zis == null ) { throw new IOException( "Not a valid input stream!" ); } zis.close(); } ZIPCompressionInputStream( InputStream in, CompressionProvider provider ); @Override void close(); @Override int read(); @Override Object nextEntry();  }### Answer:
@Test public void testClose() throws IOException { createZIPInputStream().close(); }