@Test
public void tryToCreateInstanceWithNullJsonPointer() {

    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> ImmutableMessagePath.of(null))
            .withMessage("The %s must not be null!", "JSON pointer")
            .withNoCause();
}