ExtensionsConfigurationParser { public void parseConfiguration(List<HierarchicalConfiguration> extensionNodes) throws ConfigurationException { Set<String> processedExtensions = new HashSet<String>(); for(HierarchicalConfiguration config : extensionNodes) parseConfiguration(config, processedExtensions); }  void parseConfiguration(List<HierarchicalConfiguration> extensionNodes);  }
@Test public void testParseConfiguration() throws Exception { parser.parseConfiguration(config.configurationsAt("Extensions.Extension")); Assert.assertTrue(((TestExtension)factory.getExtensionByName("test")).isConfigured()); }