@Test public void markTest() { final int readLimit = 1323; context.checking(new Expectations() { { one(inputStreamMock).mark(readLimit); } }); sut.mark(readLimit); context.assertIsSatisfied(); }
@Override public synchronized void mark(final int readlimit) { inputStream.mark(readlimit); }
ResourceInputStream extends InputStream { @Override public synchronized void mark(final int readlimit) { inputStream.mark(readlimit); } }
ResourceInputStream extends InputStream { @Override public synchronized void mark(final int readlimit) { inputStream.mark(readlimit); } protected  ResourceInputStream(final InputStream theInputStream);  ResourceInputStream(final String theResourceName); }
ResourceInputStream extends InputStream { @Override public synchronized void mark(final int readlimit) { inputStream.mark(readlimit); } protected  ResourceInputStream(final InputStream theInputStream);  ResourceInputStream(final String theResourceName); @Override int read(); @Override int available(); @Override void close(); @Override synchronized void mark(final int readlimit); @Override boolean markSupported(); @Override int read(final byte[] b, final int off, final int len); @Override int read(final byte[] b); @Override synchronized void reset(); @Override long skip(final long n); }
ResourceInputStream extends InputStream { @Override public synchronized void mark(final int readlimit) { inputStream.mark(readlimit); } protected  ResourceInputStream(final InputStream theInputStream);  ResourceInputStream(final String theResourceName); @Override int read(); @Override int available(); @Override void close(); @Override synchronized void mark(final int readlimit); @Override boolean markSupported(); @Override int read(final byte[] b, final int off, final int len); @Override int read(final byte[] b); @Override synchronized void reset(); @Override long skip(final long n);  }