> +      this.strategy = injector.getInstance(ListEnvironmentNodesImpl.class);
> +      creater.execute(prefix, ImmutableSet.<String> of());
> +      creater.execute(prefix + 1, ImmutableSet.<String> of());
> +   }
> +
> +   @AfterClass(groups = { "integration", "live" })
> +   @Override
> +   protected void tearDown() {
> +      api.deleteNode(prefix);
> +      api.deleteNode(prefix + 1);
> +      super.tearDown();
> +   }
> +
> +   @Test
> +   public void testExecute() {
> +      assert size(strategy.execute("_default")) > 0;

Use `assertTrue(size(strategy.execute("_default")) > 0, "Expected one or more 
elements")`

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/13/files#r6228587

Reply via email to