@SuppressWarnings({"rawtypes", "unchecked"})

@Test(expected = NullPointerException.class)
public void getDoesNotAcceptNullForClassTargetType() {
    DefaultConfiguration c = new DefaultConfiguration(new MockedConfigurationContext());
    c.get("a", (Class) null);
}