Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in nsubstitute
How to raise an event with NSubstitute with EventHandler<T>?
Sep 10, 2026
c#
unit-testing
events
nsubstitute
NSubstitute for the EF's Core DbContext - how to use it?
Sep 06, 2026
nsubstitute
ef-core-3.1
Nsubstitute check if setter has been called
Sep 05, 2026
c#
properties
setter
nsubstitute
Check that number of received calls is within range with NSubstitute
Aug 28, 2026
c#
mocking
nsubstitute
Mock class which inherit from abstract class and implements interface
Aug 14, 2026
c#
unit-testing
mocking
nsubstitute
How to write unit tests around private methods
Aug 02, 2026
c#
.net
unit-testing
nunit
nsubstitute
NSubstitute, assert on received calls, arguments is compared using object.ReferenceEquals
Jul 25, 2026
.net
unit-testing
nsubstitute
How to mock Entity Framework's FromSqlRaw method?
Jul 14, 2026
c#
asp.net-core
entity-framework-core
xunit
nsubstitute
Cannot test ILogger<T> Received with NSubstitute
Jul 14, 2026
unit-testing
.net-core
mstest
nsubstitute
ilogger
C# Unit Test - To mock, stub or use explicit implementation
Jul 06, 2026
c#
unit-testing
mocking
simple-injector
nsubstitute
How can I return an object (ie. List<string>) from an object mocked with NSubstitute?
Jun 19, 2026
c#
unit-testing
testing
nsubstitute
NSubstitute - faking a virtual method that calls another virtual method
Jun 01, 2026
c#
unit-testing
nsubstitute
Manipulating objects with DbSet<T> and IQueryable<T> with NSubstitute returns error
May 30, 2026
c#
entity-framework
unit-testing
nsubstitute
dbset
How to test if function does not throw exception? [duplicate]
May 12, 2026
c#
unit-testing
exception
nunit
nsubstitute
Function is called when I do not expect it to with NSubstitute
May 02, 2026
c#
unit-testing
nsubstitute
How can I check if an anonymous function has been called with NSubstitute?
Apr 28, 2026
c#
func
nsubstitute
Setting a readonly property of a class for unit testing
Apr 21, 2026
c#
unit-testing
readonly
nsubstitute
Older Entries »