Is it possible to mock the methods provided by the RIA services?
I would like to test my Silverlight application without a server connection ...
I see the following approach:
- create a separate interface;
- add it to the "base classes" for my RiaService;
- define each auto-generated RIA method in this interface;
- so that my "functionality" does not depend on RiaService, but on the interface that is implemented using RiaService.
But for this case, I see a problem: how to save my interface in automatically generated files?
ANY thoughts are welcome.
Budda source
share