I know this is a year old, but I found a way to use multiple parameters with the latest version of Moq at least:
mock.Setup(x => x.Method(It.IsAny<int>(), It.IsAny<int>()))
.Returns<int, int>((a, b) => a < b);
I know this is a year old, but I found a way to use multiple parameters with the latest version of Moq at least:
mock.Setup(x => x.Method(It.IsAny<int>(), It.IsAny<int>()))
.Returns<int, int>((a, b) => a < b);