@Test
public void wrapsNumberFormatException() {

    final String jsonLong = BigDecimal.valueOf(Long.MAX_VALUE).add(BigDecimal.TEN).toPlainString();
    final Function<String, JsonValue> underTest = JsonValueParser.fromString();
    assertThatExceptionOfType(JsonParseException.class)
            .isThrownBy(() -> underTest.apply(jsonLong))
            .withMessage("Failed to parse JSON string '%s'!", jsonLong)
            .withCauseExactlyInstanceOf(java.lang.NumberFormatException.class);
}