@SuppressWarnings("deprecation")
@Test
public void setConfiguration() throws Exception {

    assertThatCode(() -> new CoreConfigurationProvider()
            .setConfiguration(new CoreConfigurationProvider().getConfiguration(
                    getClass().getClassLoader()),
                    getClass().getClassLoader()
            )).doesNotThrowAnyException();
}