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

    DefaultConfiguration c = new DefaultConfiguration(new MockedConfigurationContext());
    c.getOrDefault("a", (TypeLiteral<String>) null, "b");
}