NSubstitute - TestFixture 1 causes AmbiguousArgumentsException in TestFixture 2

前端 未结 3 737
[愿得一人]
[愿得一人] 2021-02-08 10:14

I am writing C# unit tests using NUnit and NSubstitute. I am testing a class which will attempt to retrieve objects from a config provider implementing the following interface:<

3条回答
  •  有刺的猬
    2021-02-08 10:49

    Changing the order of my tests worked. Not a great answer, but worked - do try!

提交回复
热议问题