[java] Fixing a test broken by
@@ -209,6 +209,9 @@ public void canNotPopulateAnObjectOfAClassWithNoDefaultConstructor() {
assertThatExceptionOfType(JsonException.class)
.isThrownBy(() -> new Json().toType(raw, NoDefaultConstructor.class))
+ .withMessage("Unable to parse: {\"value\": \"time\"}")
+ .havingCause()
+ .isInstanceOf(JsonException.class)
.withMessageStartingWith(
"Unable to find type coercer for class %s", NoDefaultConstructor.class.getTypeName());
}
