HttpEntityWrapper implements HttpEntity { @Override public boolean isRepeatable() { return true; } HttpEntityWrapper(Writable writable); @Override boolean isRepeatable(); @Override boolean isChunked(); @Override long getContentLength(); @Override Header getContentType(); @Override Header getContentEncoding(); @Override InputStream getContent(); @Override void writeTo(OutputStream outstream); @Override boolean isStreaming(); @Override void consumeContent();  }
@Test public void shouldBeRepeatable() { HttpEntityWrapper wrapper = given(); assertTrue(wrapper.isRepeatable()); }