Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in nsubstitute

How to write unit tests around private methods

NSubstitute, assert on received calls, arguments is compared using object.ReferenceEquals

How to mock Entity Framework's FromSqlRaw method?

Cannot test ILogger<T> Received with NSubstitute

C# Unit Test - To mock, stub or use explicit implementation

How can I return an object (ie. List<string>) from an object mocked with NSubstitute?

NSubstitute - faking a virtual method that calls another virtual method

c# unit-testing nsubstitute

Manipulating objects with DbSet<T> and IQueryable<T> with NSubstitute returns error

How to test if function does not throw exception? [duplicate]

Function is called when I do not expect it to with NSubstitute

c# unit-testing nsubstitute

How can I check if an anonymous function has been called with NSubstitute?

c# func nsubstitute

Setting a readonly property of a class for unit testing

How can I return IQueryable<TEntity> object from a mock object?

creating controller in a test using AutoNSubstituteData xUnit and AutoFixture

How to get the called parameters with NSubstitute? (or at least assert against their properties)

How to verify that a substitute received no calls at all?

nsubstitute

How to Mock HttpClient using NSubstitute