> + // check if deployment succeeded > + server.enqueue(jsonResponse("/createdeploymentsucceeded.json")); > + deployment = deploymentApi.create(deploymentName, properties); > + assertTrue(deployment != null); > + > assertEquals(ProvisioningState.fromValue(deployment.properties().provisioningState()), > ProvisioningState.SUCCEEDED); > + } > + > + @Test > + public void testGetDeployment() throws Exception { > + final DeploymentApi deploymentApi = > api.getDeploymentApi(resourceGroup); > + > + // check if deployment succeeded > + server.enqueue(jsonResponse("/createdeploymentsucceeded.json")); > + Deployment deployment = deploymentApi.get(deploymentName); > + assertTrue(deployment != null); > + > assertEquals(ProvisioningState.fromValue(deployment.properties().provisioningState()), > ProvisioningState.SUCCEEDED);
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#r65271128