Moq is a strongly typed and minimalistic mocking framework for .NET.
At the end of the question: Using Moq to set indexers in C#, there was an issue that someone highlighted …
c# unit-testing moq indexerI have been using Moq for my mocking needs the last years, but after looking at FakeItEasy i wanted to …
c# unit-testing moq fakeiteasyI'm reading a lot of documentation and examples about how to properly unit test things combining the three components in …
c# unit-testing moq xunit.net autofixtureI have a query in a method: private readonly IEntityReader<Customer> _reader; public async Task<IEnumerable<…
c# unit-testing entity-framework-core moq iasyncenumerableWhat's the most succinct way to use Moq to mock a method that will throw an exception the first time …
c# unit-testing mocking nunit moqI've been able to mock DbSet's from entity framework with Moq using this link. However, I would now like to …
c# entity-framework moq dbcontextI'm about to take a decision about the mocking library for my next project. and because I'm new to those …
.net unit-testing tdd moq nsubstituteI need to register my Autofac container with specific interface, for this case I want to resolved mock. How can …
c# moq autofacI need to unit testing this GetData method. public MessageResponse GetData(XmlElement requestElement) { MessageResponse MsgResponse = new MessageResponse(); if (requestElement.Attributes["…
unit-testing moq mstest moq-3