Moq is a strongly typed and minimalistic mocking framework for .NET.
I have the following class, which uses constructor injection: public class Service : IService { public Service(IRepository repository, IProvider provider) { ... } } For …
class mocking moq constructor-injection concreteclassI am trying to unit test using Moq. Here is the example code: public class ConcreteClass { private readonly FirstPropery firstProperty; …
c# moq readonly-attributei got a class that gets by argument a delegate. This class invokes that delegate, and i want to unit …
c# unit-testing delegates moqHow to I setup my Moq to return some values and having the tested service select the right one? IRepository: …
unit-testing nunit moqI'm writing some unit tests for my View Model class. The constructor of this class is injected with an ILoggerService. …
c# unit-testing prism moq moq-3I know a similar question has been asked but I have not found a clear solution. I'm trying to mock …
c# unit-testing moq rhino-mocks nmockI need to choose mock framework to new project. What are the pros and cons for those frameworks? Any comparison …
moq rhino-mocks typemock justmockSay I have the following: public interface ISession { T Get<T>(dynamic filter); } } And I have the following …
c# mocking moq rhino-mocks