3 ms·
> edit: one more qualm, the Mockito equivalent for C#, NSubstitute, cannot mock a concrete class, only an interface. I've never heard of NSubstitute (that does
by GiorgioG 5y ago
> edit: one more qualm, the Mockito equivalent for C#, NSubstitute, cannot mock a concrete class, only an interface.
I've never heard of NSubstitute (that doesn't mean it's bad), but most places I've worked at typically use Moq (https://github.com/moq/moq4 https://github.com/moq/moq4) which does support interfaces and classes.
- cmckn 5y agoInteresting, I never ran across this at MS. The more you know! Thanks.