Why when I am trying to use a mock like this:
public void Test(string param=null){ MyMock.Setup(x=>x.foo(param ?? It.IsAny)); } <
public void Test(string param=null){ MyMock.Setup(x=>x.foo(param ?? It.IsAny)); }