I am writing a unit test for a function which in turn calls a stored procedure using entity framework. The stored procedure returns null or integer. And I am trying to mock this part. I tried the following
mockContext.Setup(c => c.SP_DoSomething(param1, param2)).Returns(ObjectResult<int?> ???);
I would like to return 0 in my mock. How can I achieve this?