> -            .subnetId("subnet-xyz").build();
> -
> -      assertEquals(binder.apply(spec), 
> ImmutableMap.of("LaunchSpecification.InstanceType", "t1.micro",
> -            "LaunchSpecification.ImageId", "ami-123", 
> "LaunchSpecification.SubnetId", "subnet-xyz"));
> -   }
> +    @Test
> +    public void testApplyWithSubnetId() throws UnknownHostException {
> +       LaunchSpecification spec = 
> LaunchSpecification.builder().instanceType(InstanceType.T1_MICRO).imageId("ami-123")
> +             .subnetId("subnet-xyz").build();
> +
> +       assertEquals(binder.apply(spec), 
> ImmutableMap.of("LaunchSpecification.InstanceType", "t1.micro",
> +             "LaunchSpecification.ImageId", "ami-123", 
> "LaunchSpecification.SubnetId", "subnet-xyz"));
> +    }
> +
> +    @Test
> +    public void testApplyWithSubnetIdAnsPublicIpAssociation() throws 
> UnknownHostException {

[minor] typo: "And"

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

Reply via email to