@Test
public void getProperties() {

    PropertySource ps = BuildablePropertySource.builder().withName("test")
            .withSimpleProperty("foo", "bar").build();
    PropertySourceChangeSupport support = new PropertySourceChangeSupport(ChangeSupport.IMMUTABLE, ps);
    Map properties = support.getProperties();
    assertThat(properties).isNotNull();
    assertThat(properties).isEmpty();
    support.load(ps.getProperties());
    properties = support.getProperties();
    assertThat(properties).isNotNull();
    assertThat(properties).hasSize(1);
}