Skip to content

Commit 44d91cf

Browse files
committed
Update IgnoreClassTest.java
1 parent 9d5261c commit 44d91cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blackbox-test/src/test/java/org/example/customer/IgnoreClassTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void toJsonFromJson() {
1818
String asJson = jsonb.toJson(bean);
1919
assertThat(asJson).isEqualTo("{\"firstName\":\"fn\",\"last\":\"ln\"}");
2020

21-
IgnoreField fromJson = jsonb.type(IgnoreField.class).fromJson(asJson);
21+
var fromJson = jsonb.type(IgnoredClass.class).fromJson(asJson);
2222
assertThat(fromJson.getFirstName()).isNull();
2323
assertThat(fromJson.getLastName()).isNull();
2424
assertThat(fromJson.getMiddleName()).isNull();

0 commit comments

Comments
 (0)