> +      container = api.getContainerApi().inspectContainer(container.id());
> +   }
> +
> +   @AfterClass
> +   protected void tearDown() {
> +      if (container != null) {
> +         api.getContainerApi().stopContainer(container.id());
> +         api.getContainerApi().removeContainer(container.id());
> +      }
> +      if (network != null) {
> +         api().removeNetwork(network.id());
> +      }
> +   }
> +
> +   public void testCreateNetwork() throws IOException, InterruptedException {
> +      network = api().createNetwork(Network.create(NETWORK_NAME, null, null, 
> null, null, ImmutableMap.<String, Network.Details> of(), 
> ImmutableMap.<String, String> of()));

+1 to the builders :) let's do that when they are implemented then.

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

Reply via email to