@Test
public void testApplySubroleAliases() {
CompositeConfiguration c = new CompositeConfiguration();
Configuration config = new PropertiesConfiguration();
config.addProperty("whirr.instance-templates",
"1 puppet:somepup::pet+something-else, 1 something-else-only");
c.addConfiguration(config);
InstanceTemplate template = InstanceTemplate.parse(c).get(0);
Set<String> expected = Sets.newLinkedHashSet(Arrays.asList(new String[]{
"puppet:somepup::pet", "something-else"}));