@Test public void testGetDescription() throws Exception { List<InstanceConfig> instances = getInstanceConfigs(); Assert.assertEquals(2, instances.size()); Assert.assertEquals("This is a description.", instances.get(0).getDescription()); Assert.assertNull(instances.get(1).getDescription()); }
public String getDescription() { return description; }
InstanceConfig { public String getDescription() { return description; } }
InstanceConfig { public String getDescription() { return description; }  }
InstanceConfig { public String getDescription() { return description; }  String getName(); String getLabel(); String getDescription(); boolean isVisible(); String getIcon(); String getIcon64(); List<PropertyConfig> getProperties(); }
InstanceConfig { public String getDescription() { return description; }  String getName(); String getLabel(); String getDescription(); boolean isVisible(); String getIcon(); String getIcon64(); List<PropertyConfig> getProperties();  }