### Question:
UncloseableInputStream extends InputStream { public InputStream getWrappedStream() { return myWrappedStream; } UncloseableInputStream(@NonNull InputStream wrappedStream); @Override int available(); InputStream getWrappedStream(); @Override synchronized 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 synchronized void reset(); @Override long skip(long n);  }### Answer:
@Test public void testGetWrappedStream() throws IOException { InputStream wrapped = new ByteArrayInputStream(new byte[0]); Assert.assertSame(wrapped, new UncloseableInputStream(wrapped).getWrappedStream()); }