> +      // setup expectations
> +      expect(options.getGroupIds()).andReturn(ImmutableSet.<String> of());
> +      expect(options.getGroups()).andReturn(groupNames).atLeastOnce();
> +      expect(options.getInboundPorts()).andReturn(ports).atLeastOnce();
> +      RegionNameAndIngressRules regionNameAndIngressRules = new 
> RegionNameAndIngressRules(region, generatedMarkerGroup,
> +            ports, shouldAuthorizeSelf);
> +      
> expect(strategy.securityGroupMap.getUnchecked(regionNameAndIngressRules)).andReturn(generatedMarkerGroup);
> +
> +      // replay mocks
> +      replay(options);
> +      replayStrategy(strategy);
> +
> +      // run
> +
> +       RunInstancesOptions customize = strategy.execute(region, group, 
> template);
> +      assertEquals(strategy.addSecurityGroups(region, group, template, 
> customize), returnVal);

Looks like this is causing the compilation failure? `addSecurityGroups` returns 
`void`.

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

Reply via email to