> +   }
> +   
> +   private void assertFirewallRuleRemoved(FirewallRule firewallRule) {
> +      assertPredicate(new Predicate<FirewallRule>() {
> +         @Override
> +         public boolean apply(FirewallRule testRule) {
> +            return firewallApi().getFirewallRule(testRule.dataCenterId(), 
> testRule.serverId(), testRule.nicId(), testRule.id()) == null;
> +         }
> +      }, firewallRule);
> +   }
> +     
> +   private FirewallApi firewallApi() {
> +      return api.firewallApi();
> +   }   
> +
> +   private void assertNicAvailable(Nic nic) {

The nic api live test already defines this. Please, reuse the code.

---
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/255/files/a468fa433e15575616a062912756bb7e8a6f4dd0#r59286577

Reply via email to