@Test
public void tryToSetValueWithNullJsonPointer() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> underTest.set((CharSequence) null, cersei.getValue(), Objects::nonNull))
            .withMessage("The %s must not be null!", "key or pointer char sequence")
            .withNoCause();
}