@Test public void load_invalid_external_configuratio_uri() { System.setProperty("cassandra.diagnostics.config", "invalid-cassandra-diagnostics-path.yml"); YamlConfigurationLoader loader = new YamlConfigurationLoader(); ConfigurationException exception = null; try { loader.loadConfig(); } catch (ConfigurationException e) { exception = e; } assertThat(exception).isNotNull(); }
@Override public Configuration loadConfig() throws ConfigurationException { return loadConfig(getStorageConfigUrl()); }
YamlConfigurationLoader implements ConfigurationLoader { @Override public Configuration loadConfig() throws ConfigurationException { return loadConfig(getStorageConfigUrl()); } }
YamlConfigurationLoader implements ConfigurationLoader { @Override public Configuration loadConfig() throws ConfigurationException { return loadConfig(getStorageConfigUrl()); }  }
YamlConfigurationLoader implements ConfigurationLoader { @Override public Configuration loadConfig() throws ConfigurationException { return loadConfig(getStorageConfigUrl()); }  @Override Configuration loadConfig(); @Override Configuration loadConfig(URL url); }
YamlConfigurationLoader implements ConfigurationLoader { @Override public Configuration loadConfig() throws ConfigurationException { return loadConfig(getStorageConfigUrl()); }  @Override Configuration loadConfig(); @Override Configuration loadConfig(URL url);  }