@Test
public void testGetId() {

    Configuration config = Configuration.current();
    ConfigurationSnapshot snapshot1 = new DefaultConfigurationSnapshot(config,
            Arrays.asList("confkey1", "confkey2", "confkey3", "foo"));
    ConfigurationSnapshot snapshot2 = new DefaultConfigurationSnapshot(config,
            Arrays.asList("confkey1", "confkey2", "confkey3", "foo"));
    assertThat(snapshot1).isNotEqualTo(snapshot2);
    assertThat(((DefaultConfigurationSnapshot) snapshot1).getId())
        .isNotEqualTo(((DefaultConfigurationSnapshot) snapshot2).getId());
}