@Test public void disposeShouldDelegates() throws Exception { toTest.dispose(); verify(mockResponse).dispose(); }
public void dispose() { delegate.dispose(); }
DelegatingResponse implements Response { public void dispose() { delegate.dispose(); } }
DelegatingResponse implements Response { public void dispose() { delegate.dispose(); } DelegatingResponse(Response delegate); }
DelegatingResponse implements Response { public void dispose() { delegate.dispose(); } 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 void dispose() { delegate.dispose(); } 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();  }