> + api.close();
> + }
> +
> + protected String url(String path) {
> + return server.getUrl(path).toString();
> + }
> +
> + protected MockResponse jsonResponse(String resource) {
> + return new MockResponse().addHeader("Content-Type",
> "application/json").setBody(stringFromResource(resource));
> + }
> +
> + protected MockResponse response404() {
> + return new MockResponse().setStatus("HTTP/1.1 404 Not Found");
> + }
> +
> + protected MockResponse response204() {
I'd remove this until there is an API method that actually returns those
values. Just to avoid adding unused code.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/250/files/f7cc1b437f11378e105bba552e3cfee9d7491872#r57580489