@Test public void getStatusMessageGetItFromHttpResource() throws IOException { when(mockResource.getStatusMessage()).thenReturn("value"); assertEquals("value", toTest.getStatusMessage()); }
public String getStatusMessage() throws IOException { return resource.getStatusMessage(); }
HttpResponse implements Response, Disposable { public String getStatusMessage() throws IOException { return resource.getStatusMessage(); } }
HttpResponse implements Response, Disposable { public String getStatusMessage() throws IOException { return resource.getStatusMessage(); } HttpResponse(ResponseDeserializer baseResponseDeserializer, ResponseDeserializer customTypeResponseDeserializer, Request request, HttpResource resource); }
HttpResponse implements Response, Disposable { public String getStatusMessage() throws IOException { return resource.getStatusMessage(); } HttpResponse(ResponseDeserializer baseResponseDeserializer, ResponseDeserializer customTypeResponseDeserializer, Request request, HttpResource resource); int getStatusCode(); String getStatusMessage(); String getContentType(); Charset getCharset(); String getContentEncoding(); Type getExpectedGenericType(); Class<?> getExpectedType(); Request getRequest(); InputStream asStream(); T deserialize(); T to(Class<T> type); T to(Class<T> type, Type genericType); void dispose(); }
HttpResponse implements Response, Disposable { public String getStatusMessage() throws IOException { return resource.getStatusMessage(); } HttpResponse(ResponseDeserializer baseResponseDeserializer, ResponseDeserializer customTypeResponseDeserializer, Request request, HttpResource resource); int getStatusCode(); String getStatusMessage(); String getContentType(); Charset getCharset(); String getContentEncoding(); Type getExpectedGenericType(); Class<?> getExpectedType(); Request getRequest(); InputStream asStream(); T deserialize(); T to(Class<T> type); T to(Class<T> type, Type genericType); void dispose();  }