@Test
public void testGetOrDefault_with_MultiKey() {

    Configuration config = Configuration.current();
    DefaultConfigurationSnapshot snapshot = new DefaultConfigurationSnapshot(config,
            Arrays.asList("confkey1", "confkey2", "confkey3"));
    assertThat("javaconf-value1").isEqualTo(snapshot.getOrDefault(Arrays.asList("confkey1", "foo"), "foo"));
    assertThat("foo").isEqualTo(snapshot.getOrDefault(Arrays.asList("confkeyNone", "foo"), "foo"));
    assertThat("javaconf-value1").isEqualTo(snapshot.getOrDefault(Arrays.asList("confkey1", "foo"), String.class, "foo"));
    assertThat("foo").isEqualTo(snapshot.getOrDefault(Arrays.asList("confkeyNone", "foo"), String.class, "foo"));
}