> @@ -285,4 +279,36 @@ public void testinboundPortsStatic() {
>        assertEquals(options.getInboundPorts()[0], 22);
>        assertEquals(options.getInboundPorts()[1], 30);
>     }
> +
> +   @Test
> +   public void testMaxCountDefault() {
> +      EC2TemplateOptions options = new EC2TemplateOptions();
> +      assertEquals(options.getMaxCount(), 0);
> +   }
> +
> +   @Test
> +   public void testMaxCount() {
> +      EC2TemplateOptions options = new EC2TemplateOptions();
> +      options.maxCount(2);
> +      assertEquals(options.getMaxCount(), 2);
> +   }

Seeing the NPE test for client token below, also add a test here to show null 
-> 0 for maxCount?

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

Reply via email to