@Test void emptyConfiguration() throws RedPenException { Configuration configuration = new ConfigurationLoader().loadFromString("<redpen-conf/>"); assertNotNull(configuration); assertEquals("en", configuration.getLang()); }
public Configuration loadFromString(String configString) throws RedPenException { return loadFromString(configString, null); }
ConfigurationLoader { public Configuration loadFromString(String configString) throws RedPenException { return loadFromString(configString, null); } }
ConfigurationLoader { public Configuration loadFromString(String configString) throws RedPenException { return loadFromString(configString, null); }  }
ConfigurationLoader { public Configuration loadFromString(String configString) throws RedPenException { return loadFromString(configString, null); }  Configuration load(File configFile); Configuration loadFromResource(String resourcePath); Configuration loadFromResource(String resourcePath, File base); Configuration loadFromString(String configString); Configuration loadFromString(String configString, File base); Configuration load(InputStream stream); Configuration load(InputStream stream, File base); ConfigurationLoader secure(); }
ConfigurationLoader { public Configuration loadFromString(String configString) throws RedPenException { return loadFromString(configString, null); }  Configuration load(File configFile); Configuration loadFromResource(String resourcePath); Configuration loadFromResource(String resourcePath, File base); Configuration loadFromString(String configString); Configuration loadFromString(String configString, File base); Configuration load(InputStream stream); Configuration load(InputStream stream, File base); ConfigurationLoader secure();  }