Replies: 1 comment 1 reply
-
No such methods exist, but why not do this: dto.Should().BeEquivalentTo(new DTO()); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have a DTO with quite an amount of properties. If I want to test, if this object is empty (meaning all properties at default) I get a very long list of this lines of code
This is quite annoying and repetitive.
If there was a solution like
testing if every property has its default value, would be great.
Beta Was this translation helpful? Give feedback.
All reactions