@Test
public void getOrDefaultDoesAcceptNullAsDefaultValueForThreeParameterVariant() {

    DefaultConfiguration c = new DefaultConfiguration(new MockedConfigurationContext());
    assertThat(c.getOrDefault("a", String.class, null)).isNotNull();
    assertThat((String) c.getOrDefault("a", TypeLiteral.of(String.class), null)).isNotNull();
}