@Test
public void testElasticsearchUrlsBasicAuth() throws Exception {

	CorePlugin corePlugin = ConfigurationRegistry.builder()
			.addOptionProvider(new CorePlugin())
			.addConfigSource(new SimpleSource("test")
					.add("stagemonitor.reporting.elasticsearch.url", "http://user:password@bla:1"))
			.build()
			.getConfig(CorePlugin.class);
	assertThat(corePlugin.getElasticsearchUrlsWithoutAuthenticationInformation()).isEqualTo("http://user:XXX@bla:1");
}