I\'m using Moq & NUnit as a unit test framework.
I\'ve written a method that is given a NetworkStream object as a parameter:
public static void R
As suggested in the comments - is it possible for you to change the type to Stream, so that you, during testing, can pass a MemoryStream instead?