Search code examples
How can I simulate asynchronous LINQ queries with conditional logic in xUnit?...


c#linqunit-testingmoqxunit

Read More
Moq Verify() on a mocked HttpClientHandler can't access the Content object because it is dispose...


c#httpclientmoq

Read More
Expected invocation on the mock once, but was 0 times: With Moq...


c#moqxunit

Read More
How to mock library dependencies in an Azure Function app without adding the libraries as dependenci...


c#testingazure-functionsmoq

Read More
Can't setup mocked Redis IDatabase using Moq...


c#unit-testingmoqstackexchange.redis

Read More
Error when testing xUnit inserting a user into the database...


c#ado.netmoqxunit

Read More
How to mock service injected by HttpContext.RequestServices.GetService<> in derived controller...


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

Read More
Moq fake one method but use real implementation of another...


c#.netunit-testingnunitmoq

Read More
How to mock an expression-bodied member that doesn't have a getter...


c#unit-testingmoqexpression-bodied-members

Read More
Xunit Snaphooter tests return different values when running and debuging...


.netdebuggingmoqxunit

Read More
Can you help me understand Moq Callback?...


.netmoq

Read More
Assigning out/ref parameters in Moq...


c#parametersmoqrefout

Read More
C# unit test got type conversion error on mocked objects, so how to convert the Moq.Mock type to the...


c#unit-testingmoq

Read More
Moq unable to resolve methods with same name but one being generic...


c#unit-testingmoq

Read More
How to use a mocked object in a Moq callback (or other method)?...


c#moq

Read More
How do I Moq IFindFluent so this call to ToListAsync works?...


c#unit-testingmoqmongodb-.net-driver

Read More
How to mock AuthenticationStateProvider...


c#entity-frameworkblazormoq

Read More
Is there a generic way to use SetReturnsDefault in Moq...


c#unit-testingmoq

Read More
Mock Google's StorageClient ListObjects method using Moq...


c#.netunit-testinggoogle-cloud-platformmoq

Read More
Mock and verify request object passed to PostAsJsonAsync...


c#jsonunit-testingmoqdotnet-httpclient

Read More
Unit test IBackgroundJobClient.Schedule...


c#unit-testingmoqhangfire

Read More
Moq IDBContextFactory with In-Memory EF Core...


c#unit-testingasp.net-coreentity-framework-coremoq

Read More
Mock `TableClient.QueryAsync()` for Unit Test...


azureunit-testing.net-coremoqazure-tableclient

Read More
Moq Setup() vs SetupGet()...


moq

Read More
Mock of `HttpMessageHandler` did not return a response message in xunit...


c#moqxunit

Read More
Returning value that was passed into a method...


c#mockingmoq

Read More
Mocking and unit testing graphql-dotnet...


c#unit-testinggraphqlmoqgraphql-dotnet

Read More
Unit Test Controller mocking ISession...


c#asp.net-coremockingmoqxunit

Read More
Mocking created object which then added to dictionary...


c#unit-testingnunitmoq

Read More
Mock ServiceProvider GetServices...


c#.netasp.net-coredependency-injectionmoq

Read More
BackNext