@Test
public void addPropertySources_Array() throws Exception {

    PropertySource testPS2 = new TestPropertySource("addPropertySources_Array_2");
    ConfigurationBuilder b = new CoreConfigurationBuilder()
            .addPropertySources(testPropertySource, testPS2);
    Configuration cfg = b.build();
    ConfigurationContext ctx = cfg.getContext();
    assertThat(ctx.getPropertySources()).hasSize(2).contains(testPropertySource, testPS2);
}