> +
> +      Deployment deployment = deploymentApi.get(deploymentName);
> +      assertNull(deployment);
> +
> +      assertSent(server, "GET", "/subscriptions/" + subscriptionId + 
> "/resourcegroups/" + resourceGroup +
> +              "/providers/microsoft.resources/deployments/" + deploymentName 
> + "?api-version=2016-02-01");
> +   }
> +
> +   @Test
> +   public void testListDeployment() throws Exception {
> +      final DeploymentApi deploymentApi = 
> api.getDeploymentApi(resourceGroup);
> +
> +      // check if deployment succeeded
> +      server.enqueue(jsonResponse("/listdeployments.json"));
> +      List<Deployment> deployments = deploymentApi.list();
> +      assertTrue(deployments.size() > 0);

Verify the recorded request

---
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/273/files/534e8540c90b57d7d1b6cacd6cad8938788f176a#r65271208

Reply via email to