> @@ -85,12 +85,19 @@ protected static MockWebServer mockWebServer(Dispatcher 
> dispatcher) throws IOExc
>      * Creates a test api for the given class and URL.
>      */
>     protected <T extends Closeable> T api(Class<T> apiClass, String url) {
> +      return api(apiClass, url, createConnectionModule());
> +   }
> +
> +   /**
> +    * Creates a test api for the given class, URI and Module.
> +    */
> +   protected <T extends Closeable> T api(Class<T> apiClass, String url, 
> Module... connectionModules) {

[minor] Do we intend this to be `@VisibleForTesting` or generally used?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/619/files#r21203553

Reply via email to