@Test public void getContentEncodingShouldDelegates() throws Exception { when(mockResponse.getContentEncoding()).thenReturn("value"); assertEquals("value", toTest.getContentEncoding()); }
public String getContentEncoding() throws Exception { return delegate.getContentEncoding(); }
DelegatingResponse implements Response { public String getContentEncoding() throws Exception { return delegate.getContentEncoding(); } }
DelegatingResponse implements Response { public String getContentEncoding() throws Exception { return delegate.getContentEncoding(); } DelegatingResponse(Response delegate); }
DelegatingResponse implements Response { public String getContentEncoding() throws Exception { return delegate.getContentEncoding(); } DelegatingResponse(Response delegate); Request getRequest(); int getStatusCode(); String getContentType(); Charset getCharset(); String getContentEncoding(); Type getExpectedGenericType(); Class<?> getExpectedType(); T deserialize(); T to(Class<T> type); T to(Class<T> type, Type genericType); InputStream asStream(); void dispose(); }
DelegatingResponse implements Response { public String getContentEncoding() throws Exception { return delegate.getContentEncoding(); } DelegatingResponse(Response delegate); Request getRequest(); int getStatusCode(); String getContentType(); Charset getCharset(); String getContentEncoding(); Type getExpectedGenericType(); Class<?> getExpectedType(); T deserialize(); T to(Class<T> type); T to(Class<T> type, Type genericType); InputStream asStream(); void dispose();  }