NSubstitute is a .NET mocking framework.
I have an interface with a number of generic methods. These methods perform operations based on the type of data …