@Test
public void addNullFieldSelector() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> underTest.addFieldSelector(null))
            .withMessage("The %s must not be null!", "JSON field selector")
            .withNoCause();
}