13.27Assert important contract fields
Instead of comparing:
37 fields
you might assert:
customerId
status
salesforceId
errorCode
unless full payload equality is the contract you're intentionally testing.
Same test-design judgment as elsewhere.
Instead of comparing:
37 fields
you might assert:
customerId
status
salesforceId
errorCode
unless full payload equality is the contract you're intentionally testing.
Same test-design judgment as elsewhere.