> @@ -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);
> +   }

That's kind of implicit in testMaxCountDefault(), isn't it?

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

Reply via email to