Is there any ability to mock methods that are provided with RIA Services?
I would like to test my Silverlight App without communication to the server side...
I see a following approach:
- create a separate interface;
- add it to "base classes" for my RiaService;
- define each autogenerated RIA-method in this interface;
- insert dependency so that my "functionality" will depend not from the RiaService, but from the interface that is implemented with RiaService.
But for this case I see a problem: how to keep my interface in the auto-generated files?
ANy thoughts are welcome.