Testing asynchronous GWT-RPC services

from blog Igor Klimer’s personal site, | ↗ original
Continuing the theme of testing with gwtmockito, I’d like to show you a neat class that’s bundled with gwtmockito that allows for easy mocking of GWT-RPC asynchronous services. The class I’m talking about is AsyncAnswers. It’s meant to be used with the doAnswer stubber. Supposing we have a LoginServiceAsync class: Assuming service is a mock […]