How 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 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 MoreHow can I simulate asynchronous LINQ queries with conditional logic in xUnit?...
Read MoreMoq Verify() on a mocked HttpClientHandler can't access the Content object because it is dispose...
Read MoreExpected invocation on the mock once, but was 0 times: With Moq...
Read More