@Test public void testGetIcon() throws Exception { List<InstanceConfig> instances = getInstanceConfigs(); Assert.assertEquals(2, instances.size()); Assert.assertEquals("/this/is/the/icon/url/instance_1_icon.png", instances.get(0).getIcon()); Assert.assertNull(instances.get(1).getIcon()); }
public String getIcon() { return icon; }
InstanceConfig { public String getIcon() { return icon; } }
InstanceConfig { public String getIcon() { return icon; }  }
InstanceConfig { public String getIcon() { return icon; }  String getName(); String getLabel(); String getDescription(); boolean isVisible(); String getIcon(); String getIcon64(); List<PropertyConfig> getProperties(); }
InstanceConfig { public String getIcon() { return icon; }  String getName(); String getLabel(); String getDescription(); boolean isVisible(); String getIcon(); String getIcon64(); List<PropertyConfig> getProperties();  }