Skip to content

Commit

Permalink
test: Update deepPlanningClone shared test
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Chianelli committed Nov 29, 2024
1 parent a8f3e76 commit f7ede77
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,8 @@ private void assertTestdataVariousTypes(TestdataVariousTypes original, TestdataV
softly.assertThat(cloned.deepClonedListRef)
.first()
.isSameAs(original.deepClonedListRef.get(0));
softly.assertThat(cloned.extraDeepClonedObject).isNotSameAs(original.extraDeepClonedObject);
softly.assertThat(cloned.extraDeepClonedObject.id).isSameAs(original.extraDeepClonedObject.id);
});
assertSoftly(softly -> {
softly.assertThat(cloned.shallowClonedListRef).isSameAs(original.shallowClonedListRef);
Expand Down

0 comments on commit f7ede77

Please sign in to comment.