> +    *           The name of the resource.
> +    * @return The content of the resource
> +    */
> +   public String stringFromResource(String resourceName) {
> +      try {
> +         return 
> Strings2.toStringAndClose(getClass().getResourceAsStream(resourceName));
> +      } catch (IOException e) {
> +         throw Throwables.propagate(e);
> +      }
> +   }
> +
> +   /**
> +    * Ensures server received authentication request.
> +    */
> +   public void assertAuthentication(MockWebServer server) {
> +      assertEquals(server.getRequestCount(), 2);

I totally missed that. Thanks!

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

Reply via email to