We are doing Unit testing using JUnit framework for alfresco REST web-scripts(Alfresco version: 3.4.6) and following the approach mentioned in wiki (http://wiki.alfresco.com/wiki/3.0_Web_Scripts_Testing) With this approach server is pointing to the current alfresco repository data, we need a approach where we do not have any dependency on alfresco repository so no actual data will be modified
We are trying mocking option with Mockito, need your suggestions if in any one has tried such tools for mocking the services in alfresco.