@Test
public void testEquals() throws Exception {

    PropertySource ps1 = DefaultPropertySourceSnapshot.of(MY_PS);
    PropertySource ps2 = DefaultPropertySourceSnapshot.of(MY_PS);
    assertThat(ps1.getName()).isEqualTo(ps2.getName());
    assertThat(ps1.getProperties()).hasSize(ps2.getProperties().size());
}