Reputation: 1076
Is there any way to assert that all properties of objectA are different from all properties of objectB using FluentAssertions? objectA and objectB are instances of the same class.
.BeEquivalentTo()
checks if any of the property is different. I'm looking for the same check that passes only if both objects have no equal properties and fails if at least one property is the same.
Upvotes: 0
Views: 109
Reputation: 8909
Unfortunately not. I recommend requesting an improvement at https://github.com/fluentassertions/fluentassertions/issues
Upvotes: 0