MaryConfig { public static MaryConfig getMainConfig() { for (MaryConfig mc : configLoader) { if (mc.isMainConfig()) { return mc; } } return null; } protected  MaryConfig(InputStream propertyStream); static void checkConsistency(); static int countConfigs(); static int countLanguageConfigs(); static int countVoiceConfigs(); static MaryConfig getMainConfig(); static Iterable<LanguageConfig> getLanguageConfigs(); static Iterable<VoiceConfig> getVoiceConfigs(); static LanguageConfig getLanguageConfig(Locale locale); static VoiceConfig getVoiceConfig(String voiceName); static Iterable<MaryConfig> getConfigs(); static AllophoneSet getAllophoneSet(Locale locale); boolean isMainConfig(); boolean isLanguageConfig(); boolean isVoiceConfig(); Properties getProperties(); PropertiesAccessor getPropertiesAccessor(boolean systemPropertiesOverride); String getProperty(String property, String defaultValue); List<String> getList(String propertyName);  }
@Test public void haveMainConfig() { MaryConfig m = MaryConfig.getMainConfig(); assertNotNull(m); }