> + assertEquals(request.getPath(), path);
> + assertEquals(request.getHeader("X-TOKEN"), AUTH_HEADER);
> + return request;
> + }
> +
> + protected RecordedRequest assertSent(MockWebServer server, String
> method, String path, String json)
> + throws InterruptedException {
> + RecordedRequest request = assertSent(server, method, path);
> +
> + String expectedContentType = "application/json";
> +
> + assertEquals(request.getHeader("Content-Type"), expectedContentType);
> + assertEquals(parser.parse(new String(request.getBody(),
> Charsets.UTF_8)), parser.parse(json));
> + return request;
> + }
> +}
Remove unused methods.
---
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/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68671485