Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about nsubstitute

Read more about nsubstitute

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - nsubstitute

AutoFixture with AutoNSubstituteCustomization: Set object count on ReadOnly IEnumerable<t> property

My test requires that I have different counts of objects in an IEnumerable property of the main entity collection. I have been searching for documentation about this but can't find anything. Here is a...
test-img

bkqc

nsubstitute

autofixture

Votes: 0

Answers: 2

Latest Answer

It seems that the issue you're having is not related to AutoFixture but rather with NSubstitute. Since ITransaction is an interface AutoFixture will delegate the task of creating and instance to the m...
test-img

Andrei Ivascu

NSubstitute Mocking new T property

I try to create a mock for an existing interface. When I try to read the value, I get a null reference exception public interface MyInterface<T> : MyInterface { new T Value { get...
test-img

Robert25

c#

unit-testing

nsubstitute

Votes: 0

Answers: 0

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved