> +      mr.setResponseCode(responseCode);
> +      mr.addHeader(GlacierHeaders.REQUEST_ID, REQUEST_ID);
> +      mr.addHeader(HttpHeaders.DATE, DATE);
> +      return mr;
> +   }
> +
> +   private static String getResponseBody(String path) throws IOException {
> +      return ByteSources
> +            
> .asByteSource(GlacierClientMockTest.class.getResourceAsStream(path))
> +            .asCharSource(UTF_8)
> +            .read();
> +   }
> +
> +   @BeforeTest
> +   private void initServer() throws IOException {
> +      server = new MockWebServer();
>        server.play();

On the first example of mockwebserver's wiki 
(http://code.google.com/p/mockwebserver/wiki/Examples) they play before 
enqueing, so I guess it is.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/17/files#r13947756

Reply via email to