Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in moq

How to mock non virtual methods?

c# .net moq

Using Moq to Mock a Func<> constructor parameter and Verify it was called twice

Moq and throwing a SqlException

c# .net unit-testing mocking moq

How to use Moq in unit test that calls another method in same class

c# unit-testing moq

How to use moq to verify that a similar object was passed in as argument?

c# unit-testing moq

Using Moq, how do I set up a method call with an input parameter as an object with expected property values?

c# unit-testing tdd moq

How to mock an SqlDataReader using Moq - Update

c# unit-testing mocking moq

Mock HttpRequest in ASP.NET Core Controller

Expression references a method that does not belong to the mocked object

Moq: unit testing a method relying on HttpContext

c# unit-testing mocking moq

Why does the property I want to mock need to be virtual?

How to mock the new HttpClientFactory in .NET Core 2.1 using Moq

Moq how to replace obsolete expression

linq moq

How do you use Moq to mock a simple interface?

Mock objects - Setup method - Test Driven Development

unit-testing tdd mocking moq

Moq - mock.Raise should raise event in tested unit without having a Setup

c# events tdd moq mvp

Verifying a delegate was called with Moq

c# unit-testing delegates moq

Moq - Is it possible to specify in a Setup the Verify criteria (e.g. Times called)?

Using Moq to mock a repository that returns IQueryable<MyObject>

unit-testing nunit moq

How to add claims in a mock ClaimsPrincipal