@Test public void skip() throws IOException { final long skip = 2323L; context.checking(new Expectations() { { one(inputStreamMock).skip(skip); } }); sut.skip(skip); context.assertIsSatisfied(); }
@Override public long skip(final long n) throws IOException { return inputStream.skip(n); }
ResourceInputStream extends InputStream { @Override public long skip(final long n) throws IOException { return inputStream.skip(n); } }
ResourceInputStream extends InputStream { @Override public long skip(final long n) throws IOException { return inputStream.skip(n); } protected  ResourceInputStream(final InputStream theInputStream);  ResourceInputStream(final String theResourceName); }
ResourceInputStream extends InputStream { @Override public long skip(final long n) throws IOException { return inputStream.skip(n); } 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 long skip(final long n) throws IOException { return inputStream.skip(n); } 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);  }