❔ Substitute interface property?
I have this interface:
And i'm trying to do some method chaining. But .Users is NULL, substitute doesnt overwrite that.
Any way i can make this work with NSubstitute?
3 Replies
hey, I think this topic can be useful:
https://itbackyard.com/how-to-make-mocked-unit-test-for-azure-storage/
Maytham Fahmi
Maytham Fahmi
How to make mocked unit test for Azure Storage
As you have seen I have published 3 articles series on How to make integration test for Azure Storage. Mean
it wasnt Azure specific, i was just mocking the interface, which is a wrapper to azure blob storage
making everything an interface worked
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.