Hello Matthew,
Mocking this method is pretty straightforward:
or maybe with an IsAny matcher:
Note that currently there's no syntax for mocking generic methods "for all type arguments". You must arrange the method separately for each type you expect to be used as a type argument to the method. Is this what you want to be able to do?
I hope the above helps you with writing your test.
Regards,
Stefan
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.