Is there any specific syntax I should be mocking Extension Methods?
Currently I'm trying to mock that an extension method called AddToRegion on RegionManager from PRISM is mocked. The code looks a bit like this:
var stubRegionManager = Mock.Create<IRegionManager>();
Mock.Arrange(() => stubRegionManager.AddToRegion(Arg.Any<string>(), Arg.Any<object>()).Returns(stubRegionManager);
Then I inject regionManager into the class in question. The problem is the method isn't mocked and the original is called.