InstanceConfig { public boolean isVisible() { return visible; }  String getName(); String getLabel(); String getDescription(); boolean isVisible(); String getIcon(); String getIcon64(); List<PropertyConfig> getProperties();  }
@Test public void testIsVisible() throws Exception { List<InstanceConfig> instances = getInstanceConfigs(xml_visible); Assert.assertEquals(3, instances.size()); Assert.assertTrue(instances.get(0).isVisible()); Assert.assertFalse(instances.get(1).isVisible()); Assert.assertTrue(instances.get(2).isVisible()); }