Tools Resharper One of the most popular productivity tool for Visual Studio users. As Visual Studio keep adding the same functions introduced by Resharper, it’s getting pretty OK just use Visual Studio without Resharper. Still, I love using Resharper as it helps me focus on problem-solving. In particular, I like its continuous testing feature. Bad… Continue reading Tools and Libraries for an ASP.Net developer in 2018
Tag: Moq
Recursive mocking using Moq
Introduction When we want to mock a method that’s inside an interface which is inside another interface. This can go tricky. I’ll have a look at easy way mocking recursively using Moq. Prerequisite Moq mocking library ( Nuget package) Case There is a class having a dependency of IFoo interface, and IFoo contains IBar interface as… Continue reading Recursive mocking using Moq