StackOverflow Questions for Tag: nsubstitute

user71030
user71030

Reputation: 417

Unit Test for Azure Function HttpRequest parameter not detecting System.NotSupportedException

Score: 0

Views: 130

Answers: 0

Read More
Dendi Maniac
Dendi Maniac

Reputation: 89

Importing NSubstitute into Unity project

Score: 7

Views: 7079

Answers: 3

Read More
Mugurel
Mugurel

Reputation: 246

Unit test Hangfire with NSubstitute

Score: 0

Views: 2134

Answers: 3

Read More
InteXX
InteXX

Reputation: 6377

Collection.Count shows zero even though Collection.GetEnumerator.Current contains a reference after MoveNext()

Score: 0

Views: 30

Answers: 1

Read More
Farid
Farid

Reputation: 1020

How do I mock a class that takes in T class with constructor parameters but without property?

Score: 0

Views: 64

Answers: 0

Read More
Avrohom Yisroel
Avrohom Yisroel

Reputation: 9470

How do I mock in injected LocalStorageService is a bUnit test?

Score: 0

Views: 393

Answers: 2

Read More
crazyTech
crazyTech

Reputation: 1477

How to write Mock Unit Test Code that will Test a class method that downcasts an input argument interface as a concrete class?

Score: -1

Views: 54

Answers: 1

Read More
Sulieman Mansouri
Sulieman Mansouri

Reputation: 579

Mocking IDbContextFactory with NSubstitute, disposes context

Score: 0

Views: 82

Answers: 0

Read More
strongwind
strongwind

Reputation: 131

NSubstitute mocking Mongo IFindFluent does not work

Score: 4

Views: 3227

Answers: 1

Read More
Alexander Hardy
Alexander Hardy

Reputation: 63

NSubstitute for Protected Methods

Score: 0

Views: 383

Answers: 1

Read More
Lucia
Lucia

Reputation: 21

Unit test Automapper Resolver

Score: 0

Views: 108

Answers: 1

Read More
user9530048
user9530048

Reputation:

NSubstitute Error UnexpectedArgumentMatcherException

Score: 13

Views: 19115

Answers: 6

Read More
Skip Saillors
Skip Saillors

Reputation: 826

NSubstitute test works by itself, but throws Unexpected Matcher Argument in a suite

Score: 19

Views: 8743

Answers: 2

Read More
thomsan
thomsan

Reputation: 483

Hangfire recurring job with NSubstitute

Score: 0

Views: 89

Answers: 1

Read More
Lotzi11
Lotzi11

Reputation: 549

NSubstitute.Received(1) Catching Multiple Recieved Calls

Score: 0

Views: 124

Answers: 1

Read More
heltonbiker
heltonbiker

Reputation: 27605

Overriding protected abstract method in NSubstitute

Score: 0

Views: 3031

Answers: 1

Read More
JLauter
JLauter

Reputation: 11

Is there a Automocker.CreateInstance equivalent in NSubstitute?

Score: 0

Views: 596

Answers: 2

Read More
Alexandr Nikitin
Alexandr Nikitin

Reputation: 7436

NSubstitute multiple return sequence

Score: 16

Views: 18262

Answers: 4

Read More
Red
Red

Reputation: 3267

Unit testing middleware with NUnit and NSubstitute

Score: 0

Views: 3252

Answers: 1

Read More
Steffen Skaraas
Steffen Skaraas

Reputation: 23

NSubstitute throws RedundantArgumentMatcherException fails subsituted interface is global but not local

Score: 0

Views: 46

Answers: 0

Read More
PreviousPage 2Next