ConfigurationRepositories { public RepositoryConfiguration getRepositoryConfiguration(String name) { LOGGER.debug("getRepositoryConfiguration(" + name + ")"); return new RepositoryConfiguration(iniFile.get(name), name); } ConfigurationRepositories(String configFile); String[] getNames(); RepositoryConfiguration getRepositoryConfiguration(String name); String getConfigFile(); void setConfigFile(String configFile); Ini getIniFile(); void setIniFile(Ini iniFile);  }
@Test(dependsOnMethods = { "testGetNames" }) public void testGetRepositoryConfiguration() { String repositoryName = confRepos.getNames()[0]; RepositoryConfiguration rconfig = confRepos .getRepositoryConfiguration(repositoryName); assertNotNull(rconfig, "We had expected to get an instance of RepositoryConfiguration"); }