CoreConfigurationProvider implements ConfigurationProviderSpi { @Override public Configuration getConfiguration(ClassLoader classLoader) { return configurations.computeIfAbsent(classLoader, cl -> new CoreConfigurationBuilder() .setClassLoader(classLoader) .addDefaultPropertyConverters() .addDefaultPropertyFilters() .addDefaultPropertySources() .build() ); } CoreConfigurationProvider(); @Override Configuration getConfiguration(ClassLoader classLoader); @Override Configuration createConfiguration(ConfigurationContext context); @Override ConfigurationBuilder getConfigurationBuilder(); @Override void setConfiguration(Configuration config, ClassLoader classLoader); @Override Configuration releaseConfiguration(ClassLoader classloader); @Override boolean isConfigurationSettable(ClassLoader classLoader);  }
@Test public void getConfiguration() throws Exception { assertThat(new CoreConfigurationProvider().getConfiguration(getClass().getClassLoader())).isNotNull(); }