DEV Community

Discussion on: 3 ways to check the object passed to mocks with Moq in C#

Collapse
 
pbouillon profile image
Pierre Bouillon

I also prefer the third approach but it's always nice to see other ways of doing things

Mocking may be very verbose in some case and knowing that you can extract this logic into a dedicated method will certainly be helpful out there!