Forum Discussion
Naresh Chinnareddi
Apr 02, 2018Former Employee
How to Mock and Unit Test SharePoint online(Microsoft.SharePoint.Client) custom code.
We want to mock 'ListItemCollection' with test data without make any calls to SharePoint list. We tried moq and fake assemblies for Microsoft.sharepoint.client and facing error 'invalid setup on non virtual member' on mocking ListItemCollection.
No RepliesBe the first to reply