Moq setup for generic method with func parameter with generic return type I have a generic method as shown below,