@Test public void markSupportedTest() { context.checking(new Expectations() { { one(inputStreamMock).markSupported(); will(returnValue(true)); } }); assertTrue(sut.markSupported()); context.assertIsSatisfied(); }
@Override public boolean markSupported() { return inputStream.markSupported(); }
ResourceInputStream extends InputStream { @Override public boolean markSupported() { return inputStream.markSupported(); } }
ResourceInputStream extends InputStream { @Override public boolean markSupported() { return inputStream.markSupported(); } protected  ResourceInputStream(final InputStream theInputStream);  ResourceInputStream(final String theResourceName); }
ResourceInputStream extends InputStream { @Override public boolean markSupported() { return inputStream.markSupported(); } 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 boolean markSupported() { return inputStream.markSupported(); } 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);  }