Is there any way to list all the mocked methods (Setups) on a Mock?
Lets say, I create mock as following:
Mock<IAnInterface> aMock = new Mock<IAnInterface>();
aMock.Setup(am => am.Execute()).Returns(true);
Now, i need to find if Execute
has been setup on aMock
?