@Test(expected = NullPointerException.class)
public void getOrDefaultDoesNotAcceptNullAsKeyForThreeParameterVariantSecondIsTypeLiteral() {

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