google / gwtmockito

Better GWT unit testing
https://google.github.io/gwtmockito
Apache License 2.0
157 stars 50 forks source link

Using a FakeProvider for RPC services #26

Closed andrewkolas closed 10 years ago

andrewkolas commented 10 years ago

I read through issue #6 and I can see where you addressed some of his issues. The problem I'm having is I want to use a FakeProvider for an RPC interface. Looking at GwtMockito.Bridge.create, it seems to be attempting to match an Async class name before checking the list of registeredProviders.

As bwolff mentioned, this means activities' RPC service members must be accessible and non-final, which I'd rather not do.

Thanks for everything, Andrew

ekuefler commented 10 years ago

Yep, definitely a bug, thanks for reporting it! I've just pushed a fix that should go out in the next release, which I'm preparing today.