I do all of my server side work in little action objects. This allows you to remove your dependency on RemoteServiceServlet, and test only your code.
So basically all of your server methods would look like: return new MyAction(getThreadLocalRequest(), clientArgumentBundle).perform(); Then you can mock out the request, session, etc, in your unit test, since they will just be arguments instead of class methods. -Ben -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.