@Test public void setConnectionTimeoutShouldDelegate() throws IOException { toTest.setConnectionTimeout(123); verify(delegate).setConnectionTimeout(123); }
public void setConnectionTimeout(int timeout) throws IOException { this.delegate.setConnectionTimeout(timeout); }
AuthorizationHttpChannel implements HttpChannel { public void setConnectionTimeout(int timeout) throws IOException { this.delegate.setConnectionTimeout(timeout); } }
AuthorizationHttpChannel implements HttpChannel { public void setConnectionTimeout(int timeout) throws IOException { this.delegate.setConnectionTimeout(timeout); } AuthorizationHttpChannel(HttpChannel delegate, Authorization authorization, MethodType methodType, String url, Charset charset, Map<String, EntityParamExtractor> entityParamExtrators); }
AuthorizationHttpChannel implements HttpChannel { public void setConnectionTimeout(int timeout) throws IOException { this.delegate.setConnectionTimeout(timeout); } AuthorizationHttpChannel(HttpChannel delegate, Authorization authorization, MethodType methodType, String url, Charset charset, Map<String, EntityParamExtractor> entityParamExtrators); Response send(); void setContentType(String contentType); void writeEntityWith(HttpEntityWriter httpEntityWriter); void addHeader(String name, String value); void setHeader(String name, String value); void setAccept(String value); void setSocketTimeout(int timeout); void setConnectionTimeout(int timeout); }
AuthorizationHttpChannel implements HttpChannel { public void setConnectionTimeout(int timeout) throws IOException { this.delegate.setConnectionTimeout(timeout); } AuthorizationHttpChannel(HttpChannel delegate, Authorization authorization, MethodType methodType, String url, Charset charset, Map<String, EntityParamExtractor> entityParamExtrators); Response send(); void setContentType(String contentType); void writeEntityWith(HttpEntityWriter httpEntityWriter); void addHeader(String name, String value); void setHeader(String name, String value); void setAccept(String value); void setSocketTimeout(int timeout); void setConnectionTimeout(int timeout);  }