I am using NUnit mocks and would like to indicate that I am expecting a call, but without saying that there will be arguments, for example:
mock.ExpectAndReturn("Equals", true, ANY_ARGUMENT);
Obviously filling in the correct syntax instead of ANY_ARGUMENT.
Is there any way to do this?
If I do not specify any arguments, NUnit will end the test because it was expecting 0 arguments, but received 1.
source
share