Using NSubstitute to Check if a Method is Called With a Particular Object
By using NSubstitute, we can easily test if a method is called even with complex parameters.
By using NSubstitute, we can easily test if a method is called even with complex parameters.