@Test
public void testGetProperties() throws Exception {

    PropertySource ps = DefaultPropertySourceSnapshot.of(MY_PS);
    assertThat(ps).isNotNull();
    assertThat(ps.getProperties()).isNotNull();
    assertThat(ps.getProperties()).isNotEmpty();
    for(Map.Entry en:MY_PS.getProperties().entrySet()){
        assertThat(en.getValue()).isEqualTo(ps.get((String)en.getKey()));
    }
}