I'm trying trying to set the expectation that a method will be called. But when I write the lambda expresion inside the Method method, I get an error because I'm not passing the parameters. I don't care about the instance of the parameters, I only want to know if the method was called. Like the "It.IsAny" from Moq
What should I do?
The C# code: unitMock.Expects.One.Method(m=>m.Convert());