ServletInputStreamWrapper extends ServletInputStream { @Override public boolean isReady() { return true; } ServletInputStreamWrapper(InputStream content); @Override int read(byte[] b); @Override int read(byte[] b, int off, int len); @Override int read(); @Override boolean isFinished(); @Override boolean isReady(); @Override void setReadListener(ReadListener listener);  }
@Test public void isReady() { boolean result = underTest.isReady(); assertThat(result, is(true)); }