When seting up a return values with a conrete type that implements generic interface multiple times, the order in which the interfaces are specified is important #853
Labels
bug
Reported problem with NSubstitute behaviour
Describe the bug
When a type implements generic interface multiple times, the order of specified types is important.
To Reproduce
Expected behaviour
The Returns should work regardless of the order of IMyInterface specification
Environment:
Additional context
I believe the issue was introduced in commit 73818a6
See
Shouldn't there is something like "if true return true else continue"? Though I didn't study the code further, so I am not sure.
The text was updated successfully, but these errors were encountered: