> +   @Test
> +   public void testGetFirewallRule() throws InterruptedException {
> +      MockResponse response = new MockResponse();
> +      response.setBody(stringFromResource("/firewall/get.json"));
> +      response.setHeader("Content-Type", 
> "application/vnd.profitbricks.resource+json");
> +      
> +      server.enqueue(response);
> +      
> +      FirewallRule firewallRule = 
> firewallApi().getFirewallRule("datacenter-id", "server-id", "nic-id", 
> "some-id");
> +      
> +      assertNotNull(firewallRule);
> +      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");
> +   }

Add the missing get and list tests.

---
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#r59286691

Reply via email to