### Question:
ZipEntryInputStream extends InputStream { @Override public boolean markSupported() { return zipInputStream.markSupported(); } ZipEntryInputStream(ZipInputStream zipInputStream); @Override int available(); @Override void close(); @Override void mark(int readlimit); @Override boolean markSupported(); @Override int read(); @Override int read(byte[] b); @Override int read(byte[] b, int off, int len); @Override void reset(); @Override long skip(long n);  }### Answer:
@Test public void markSupportedShouldDelegateToZipInputStreamMarkSupported() throws IOException { Mockito.doReturn(true).when(zipInputStream).markSupported(); boolean result = zipEntryInputStream.markSupported(); Assert.assertEquals(true, result); Mockito.verify(zipInputStream, Mockito.times(1)).markSupported(); Mockito.verifyNoMoreInteractions(zipInputStream); }