I have a CAML query in a class and I'm using unit test to cover my code with some proper test. For the SharePoint classes and stuff, I use TypeMock to mock the SharePoint objects.
I would like to test the CAML query because I think there is some logic there that need to be test. How can I to that? Is the CAML query engine can run on dummy object?
I'm using SharePoint 2010 with C#.