Search code examples
Mock ControllerBase Request using Moq...

c#unit-testing.net-coremoqxunit.net

Read More
Why is my global error handling not triggered when I throw a mock exception in my c# unit test?...

c#unit-testingexceptionmoqxunit

Read More
Using HttpContext.GetTokenAsync in C# Unit Tests...

c#unit-testingmoqxunithttpcontext

Read More
How to unit test with ILogger in ASP.NET Core...

c#unit-testingasp.net-coremoqilogger

Read More
Verify BackgroundJob.Delete in Hangfire in mstest unit testing...

c#testingmoqhangfire

Read More
Why the method doesn't work, however the same algorithm in another method works?...

c#entity-frameworkunit-testingmoqreturn-value

Read More
Testing ValidationAttribute that overrides IsValid...

c#asp.net-mvcunit-testingmoqvalidationattribute

Read More
How do I mock controller context in my unit test so that my partial view to string function works?...

c#unit-testingmoqasp.net-mvc-5

Read More
How to mock MediatR to perform xUnit test for Web API Controller...

c#moqxunit.net-5fixtures

Read More
How to mock container.Resolve<Type>()...

c#moqioc-container

Read More
Moq fully generic Setup with class proxy attempt throws `Late bound operations cannot be performed`...

c#.netmoqexpression-treessystem.reflection

Read More
How do I use AutoFixture Attributes to get FakeTimeProvider reference when my SUT depends on TimePro...

c#moqxunit.netautofixture

Read More
How do I Moq a method that has an optional argument in its signature without explicitly specifying i...

c#unit-testingmoq

Read More
Moq verify property init...

c#.netunit-testingmoqxunit

Read More
Mocking EF DbContext with Moq...

c#unit-testingentity-framework-5moqdbcontext

Read More
Can I use moq Mock<MyClass> to mock a class, not an interface?...

c#unit-testingmoq

Read More
Moq to NSubstitute AddScoped...

c#unit-testingmoqnsubstitute

Read More
Test case fails...

c#.netmoqxunit

Read More
Why isn't my supplied predicate being matched when using Moq?...

c#.netmoqlinq-expressions

Read More
Mocking HttpClient in unit tests...

c#unit-testingmoq

Read More
Initializing internal variables with Moq in a unit test...

c#unit-testingmoqxunit

Read More
C# UnitTests Mock File ReadAllBytes throws System.IO.FileNotFoundException...

c#asp.netunit-testingmoqxunit

Read More
how do I mock sqlconnection or should I refactor the code?...

unit-testingado.netmoqxunitsqlconnection

Read More
Mock IMemoryCache with Moq throwing exception...

c#unit-testingasp.net-core.net-coremoq

Read More
Using Moq with a template method...

c#moq

Read More
How to mock an internal method of a class?...

.netunit-testingmoq

Read More
How to Mock EntityEntry in EF Core?...

unit-testingentity-framework-coremockingmoqef-core-8.0

Read More
While unit testing GetAsync, How to make an HttpResponseMessage returns an exception to be caught by...

c#moqdotnet-httpclient

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

c#unit-testingmoq

Read More
Getting past entity framework BeginTransaction...

c#entity-frameworkunit-testingtestingmoq

Read More
BackNext