code4clouds commented on this pull request.
> +
+ private Subnet createDefaultSubnet() {
+ server.enqueue(jsonResponse("/getonesubnet.json").setResponseCode(200));
+ final SubnetApi subnetApi = api.getSubnetApi("azurearmtesting",
"myvirtualnetwork");
+ Subnet subnet = subnetApi.get("mysubnet");
+ String path =
String.format("/subscriptions/%s/resourcegroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s?%s",
subscriptionid, resourcegroup, virtualNetwork, subnetName, apiVersion);
+ try {
+ assertSent(server, "GET", path);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
+ return subnet;
+ }
+
+
+}
Tests added...
--
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/412#discussion_r146760313