@Test public void getCharsetShouldDelegates() throws Exception { when(mockResponse.getCharset()).thenReturn(UTF8); assertEquals(UTF8, toTest.getCharset()); }
public Charset getCharset() throws Exception { return delegate.getCharset(); }
DelegatingResponse implements Response { public Charset getCharset() throws Exception { return delegate.getCharset(); } }
DelegatingResponse implements Response { public Charset getCharset() throws Exception { return delegate.getCharset(); } DelegatingResponse(Response delegate); }
DelegatingResponse implements Response { public Charset getCharset() throws Exception { return delegate.getCharset(); } 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 Charset getCharset() throws Exception { return delegate.getCharset(); } 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();  }