@Test
public void nullActual() {

    JSONPointer ptr = JSONPointer.builder().append("required").append("2").build();
    String actual = buildMessage(ptr.toURIFragment(), null, String.class);
    assertEquals("#/required/2: expected type: String, found: null", actual);
}