>        vapp.delete();
> -      assertNull(view.getCloudService().findVirtualAppliance(
> -            VirtualAppliancePredicates.name(PREFIX + "Virtual Appliance 
> Updated")));
> +
> +      assertNull(find(view.getCloudService().listVirtualAppliances(), new 
> Predicate<VirtualAppliance>() {
> +         @Override
> +         public boolean apply(VirtualAppliance input) {
> +            return input.getName().equals(name);
> +         }
> +      }, null));

Is this a way of checking that the `null` default value is taken, i.e. that 
`find` returns nothing? Would it be easier to read if the check were "find is 
not empty" instead?

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

Reply via email to