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