@Test public void closeShouldCloseResponse() throws IOException { newToTest().close(); verify(mockResponse).close(); }
public void close() throws IOException { response.close(); }
HttpChannelResponseHttpResource implements HttpResource { public void close() throws IOException { response.close(); } }
HttpChannelResponseHttpResource implements HttpResource { public void close() throws IOException { response.close(); } HttpChannelResponseHttpResource(HttpChannel.Response response); }
HttpChannelResponseHttpResource implements HttpResource { public void close() throws IOException { response.close(); } HttpChannelResponseHttpResource(HttpChannel.Response response); String getContentType(); Charset getCharset(); String getContentEncoding(); InputStream getEntity(); String getStatusMessage(); int getStatusCode(); void close(); }
HttpChannelResponseHttpResource implements HttpResource { public void close() throws IOException { response.close(); } HttpChannelResponseHttpResource(HttpChannel.Response response); String getContentType(); Charset getCharset(); String getContentEncoding(); InputStream getEntity(); String getStatusMessage(); int getStatusCode(); void close();  }