MaryConfig { public static int countConfigs() { int num = 0; for (@SuppressWarnings("unused") MaryConfig mc : configLoader) { num++; } return num; } 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 canCountConfigs() { int num = MaryConfig.countConfigs(); assertTrue(num >= 0); }