### Question:
ByteCountingCallbackInputStreamWrapper extends InputStream { public ByteCountingCallbackInputStreamWrapper( final ConnectionProgressStatusListener connectionProgressStatusListener, final InputStream inputStream) { if (connectionProgressStatusListener == null) { throw new IllegalArgumentException("null connectionProgressStatusListener"); } if (inputStream == null) { throw new IllegalArgumentException("null inputStream"); } this.connectionProgressStatusListener = connectionProgressStatusListener; this.inputStream = inputStream; } ByteCountingCallbackInputStreamWrapper(
			final ConnectionProgressStatusListener connectionProgressStatusListener, final InputStream inputStream); @Override int read(); @Override int read(final byte[] b, final int off, final int len); @Override int read(final byte[] b); @Override int available(); @Override void close(); @Override synchronized void mark(final int readlimit); @Override boolean markSupported(); @Override synchronized void reset(); @Override long skip(final long n);  }### Answer:
@SuppressWarnings("resource") @Test public void testByteCountingCallbackInputStreamWrapper() { InputStream dummyInputStream = Mockito.mock(InputStream.class); ConnectionProgressStatusListener listener = Mockito.mock(ConnectionProgressStatusListener.class); new ByteCountingCallbackInputStreamWrapper(listener, dummyInputStream); Assert.assertTrue(true); }