@Test
public void setConfiguration() throws Exception {

    Configuration cfg = Configuration.current();
    ConfigurationBuilder b = new CoreConfigurationBuilder()
            .setConfiguration(cfg);
    assertThat(b.build()).isEqualTo(cfg);
}