InstanceConfig { public String getLabel() { return label; }  String getName(); String getLabel(); String getDescription(); boolean isVisible(); String getIcon(); String getIcon64(); List<PropertyConfig> getProperties();  }
@Test public void testGetLabel() throws Exception { List<InstanceConfig> instances = getInstanceConfigs(); Assert.assertEquals(2, instances.size()); Assert.assertEquals("My Instance 1!", instances.get(0).getLabel()); Assert.assertEquals("My Instance 2!", instances.get(1).getLabel()); }