@SuppressWarnings("OverlyStrongTypeCast")
@Test
public void addPointersAsVarArgsWithNullParam() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> underTest.addPointer(pointerA, (JsonPointer[]) null))
            .withMessage("The %s must not be null!", "further JSON pointers to be added")
            .withNoCause();
}