question: @ Ignore @ Test public void testSetBaseURL ( ) throws ParserConfigurationException , SAXException , MalformedURLException { ConfigManager configManager = getConfigManager ( ) ; try { URL baseURL2 = new URL ( "http://1.1.1.1/ipt" ) ; configManager . setBaseUrl ( baseURL2 ) ; fail ( ) ; } catch ( InvalidConfigException e ) { } try { URL baseURL2 = new URL ( "http://www.gbif.org" ) ; configManager . setBaseUrl ( baseURL2 ) ; fail ( ) ; } catch ( InvalidConfigException e ) { } URL baseURL = new URL ( "http://ipt.gbif.org" ) ; configManager . setBaseUrl ( baseURL ) ; assertEquals ( baseURL . toString ( ) , appConfig . getProperty ( AppConfig . BASEURL ) ) ; }
target:  Test that the method setBaseUrl of the ConfigManager throws an InvalidConfigException if the baseURL given by the user doesn't exist or the client can't connect with it.