Maybe I'm not understanding the issue, but can't you just create a place 
controller like so:

@Provides
 @Singleton
 PlaceController createPlaceController(EventBus eventBus, 
PlaceController.Delegate delegate) {
    return new PlaceController(eventBus, delegate);
 }


Put whatever in the delegate you like (I put a mock in there and ignore it). 
 It works for me in unit tests.

placeController.goTo(new MyPlace());



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Kjj82sgnCZoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to