Working on a project using the Xamarin Framework and came across a problem where I needed to see if a method was being called. The problem was the method was on the base class and was un-mockable
To get around this I used a lazy load property and a delegate to create a wrapper.
To test it you simply set the property in my test class to a test method
Next to test that we are calling the base class method we are expecting, we add a new test fixture and use a little reflection to get the method info for each and then compare them