> +      assertEquals(firewallRule.properties().name(), "apache-firewall");
> +      
> +      assertEquals(server.getRequestCount(), 1);
> +      assertSent(server, "GET", 
> "/datacenters/datacenter-id/servers/server-id/nics/nic-id/firewallrules/some-id?depth=3");
> +   }
> +   
> +   public void testGetFirewallRuleWith404() throws InterruptedException {
> +      server.enqueue(response404());
> +
> +      FirewallRule firewallRule = firewallApi().get("datacenter-id", 
> "server-id", "nic-id", "some-id");
> +      
> +      assertEquals(firewallRule, null);
> +
> +      assertEquals(server.getRequestCount(), 1);
> +      assertSent(server, "GET", 
> "/datacenters/datacenter-id/servers/server-id/nics/nic-id/firewallrules/some-id");
> +   }

Still missing a test for the get firewall with depth and 404.

---
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/958590fa1cb0101355e6cfee1893c43112c09253#r59632411

Reply via email to