-
-
Notifications
You must be signed in to change notification settings - Fork 766
Closed
Labels
theme: recursive comparisonAn issue related to the recursive comparisonAn issue related to the recursive comparison
Milestone
Description
Summary
usingRecursiveComparison().ignoringFields("fieldName") is not working properly when comparing two maps with different sizes.
Example
using the following code the ingested node will be the same size as the expected one after ignoring "ingestionDate". So I suppose that start comparing the size of the maps makes the method more limited such as in this case for example.
assertThat(ingestedNode).usingRecursiveComparison().ignoringFields("ingestionDate").isEqualTo(expectedNode);Metadata
Metadata
Assignees
Labels
theme: recursive comparisonAn issue related to the recursive comparisonAn issue related to the recursive comparison