@Test
public void tryToGetShouldReadFromExternalInstanceWithNullHeaderDefinitions() {

    assertThatNullPointerException()
            .isThrownBy(() -> CheckExternalFilter.shouldReadFromExternal(null))
            .withMessage("The headerDefinitions must not be null!")
            .withNoCause();
}