> +        resourcegroup = getResourceGroupName();
> +
> +        // Subnets belong to a virtual network so that needs to be created 
> first
> +        // VN will be deleted when resource group is deleted
> +        VirtualNetwork vn = getOrCreateVirtualNetwork(VIRTUAL_NETWORK_NAME);
> +        assertNotNull(vn);
> +    }
> +
> +    @Test(groups = "live")
> +    public void deleteSubnetResourceDoesNotExist() {
> +
> +        final SubnetApi subnetApi = api.getSubnetApi(resourcegroup, 
> VIRTUAL_NETWORK_NAME);
> +
> +        subnetApi.deleteSubnet(DEFAULT_SUBNET_NAME);
> +
> +        //TODO: need to check that we get "no content" back

Just add the assertFalse.

---
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/262/files/1801c68f227e1f245a30c6fa6ff044e7e2634460#r60746693

Reply via email to