Hi everyone,
I need to test a class which calls "GetStuffFromDB()" in its constructor,
I can't call Ignore before creating the instance and when I create the instance "GetStuffFromDB()" already called.
How can solve this problem?
Normally this works but obviously to able to call it like this I need an instance and I cannot create an instance without calling the constructor.
Isolate.NonPublic.WhenCalled(myObj, "GetStuffFromDB").IgnoreCall()