@Test public void ready() throws IOException { when(delegate.ready()).thenReturn(true); assertTrue(cut.ready()); verify(delegate).ready(); }
@Override public boolean ready() throws IOException { return delegate.ready(); }
CountingReader extends Reader { @Override public boolean ready() throws IOException { return delegate.ready(); } }
CountingReader extends Reader { @Override public boolean ready() throws IOException { return delegate.ready(); } CountingReader(Reader delegate); }
CountingReader extends Reader { @Override public boolean ready() throws IOException { return delegate.ready(); } CountingReader(Reader delegate); @Override int read(CharBuffer target); @Override int read(); @Override int read(char[] cbuf, int off, int len); @Override long skip(long n); @Override boolean ready(); @Override boolean markSupported(); @Override void mark(int readAheadLimit); @Override void reset(); @Override void close(); int getCharCount(); }
CountingReader extends Reader { @Override public boolean ready() throws IOException { return delegate.ready(); } CountingReader(Reader delegate); @Override int read(CharBuffer target); @Override int read(); @Override int read(char[] cbuf, int off, int len); @Override long skip(long n); @Override boolean ready(); @Override boolean markSupported(); @Override void mark(int readAheadLimit); @Override void reset(); @Override void close(); int getCharCount();  }