> +   public void testGetForwardingRuleResponseIs2xx() throws Exception {
> +      HttpRequest get = HttpRequest
> +              .builder()
> +              .method("GET")
> +              .endpoint("https://www.googleapis"; +
> +                      
> ".com/compute/v1/projects/myproject/regions/us-central1/forwardingRules/test-forwarding-rule")
> +              .addHeader("Accept", "application/json")
> +              .addHeader("Authorization", "Bearer " + TOKEN).build();
> +
> +      HttpResponse operationResponse = HttpResponse.builder().statusCode(200)
> +              
> .payload(payloadFromResource("/forwardingrule_get.json")).build();
> +
> +      ForwardingRuleApi api = 
> requestsSendResponses(requestForScopes(COMPUTE_READONLY_SCOPE),
> +              TOKEN_RESPONSE, get, 
> operationResponse).getForwardingRuleApiForProject("myproject");
> +
> +      assertEquals(api.getInRegion("us-central1", "test-forwarding-rule"),

We have `assertj` in jclouds-labs-google now - use that style instead (here and 
below)? @andrewgaul can probably help if there are questions.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/22/files#r18015731

Reply via email to