Check out example codes for "nunit return parameter". It will help you in understanding the concepts better.

Code Example 1

_mock.Setup(x => x.DoSomething(It.IsAny<string>(), It.IsAny<int>())).Returns((string x, int y) => x);

Learn ReactJs, React Native from akashmittal.com