> + ListenableFuture<HttpResponse> method();
> + }
> +
> + @Test
> + public void testPATCHAnnotation() {
> + HttpResponse response =
> HttpResponse.builder().statusCode(200).build();
> + TestPATCHAnnotationApi testPATCH = requestSendsResponse(
> +
> HttpRequest.builder().method("PATCH").endpoint("http://mock/PATCH/annotation").build(),
> + response);
> + assertEquals(testPATCH.method(), response, "PATCH");
> + }
> +
> + @Override
> + public ProviderMetadata createProviderMetadata() {
> + return
> forClientMappedToAsyncClientOnEndpoint(TestPATCHAnnotationApi.class,
> + TestPATCHAnnotationAsyncApi.class, "http://mock");
Once you remove the Async interface, you may need to change this method to
something like:
```java
return forApiOnEndpoint(TestPATCHAnnotationApi.class), "http://mock");
```
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/201/files#r7594405