Mock ControllerBase Request using Moq...
Read MoreWhy is my global error handling not triggered when I throw a mock exception in my c# unit test?...
Read MoreUsing HttpContext.GetTokenAsync in C# Unit Tests...
Read MoreHow to unit test with ILogger in ASP.NET Core...
Read MoreVerify BackgroundJob.Delete in Hangfire in mstest unit testing...
Read MoreWhy the method doesn't work, however the same algorithm in another method works?...
Read MoreTesting ValidationAttribute that overrides IsValid...
Read MoreHow do I mock controller context in my unit test so that my partial view to string function works?...
Read MoreHow to mock MediatR to perform xUnit test for Web API Controller...
Read MoreHow to mock container.Resolve<Type>()...
Read MoreMoq fully generic Setup with class proxy attempt throws `Late bound operations cannot be performed`...
Read MoreHow do I use AutoFixture Attributes to get FakeTimeProvider reference when my SUT depends on TimePro...
Read MoreHow do I Moq a method that has an optional argument in its signature without explicitly specifying i...
Read MoreCan I use moq Mock<MyClass> to mock a class, not an interface?...
Read MoreWhy isn't my supplied predicate being matched when using Moq?...
Read MoreInitializing internal variables with Moq in a unit test...
Read MoreC# UnitTests Mock File ReadAllBytes throws System.IO.FileNotFoundException...
Read Morehow do I mock sqlconnection or should I refactor the code?...
Read MoreMock IMemoryCache with Moq throwing exception...
Read MoreHow to mock an internal method of a class?...
Read MoreHow to Mock EntityEntry in EF Core?...
Read MoreWhile unit testing GetAsync, How to make an HttpResponseMessage returns an exception to be caught by...
Read MoreHow to use moq to verify that a similar object was passed in as argument?...
Read MoreGetting past entity framework BeginTransaction...
Read More