WorkshopAdminPresenterImpl implements WorkshopAdminView.Presenter { @Override public void go(HasOneWidget container) { container.setWidget(view); updateView(); } @Inject  WorkshopAdminPresenterImpl(final WorkshopAdminViewFactory viewFactory,
                                      final WorkshopAdminServiceFacade serviceFacade,
                                      final GroupAutoBeanFactory groupAutoBeanFactory,
                                      final MemberProperties memberProperties,
                                      final WorkshopAdminView.WorkshopAdminViewAppearance appearance); @Override void go(HasOneWidget container); @Override void setViewDebugId(String baseId);  }
@Test public void testGo() throws Exception { HasOneWidget containerMock = mock(HasOneWidget.class); WorkshopAdminPresenterImpl spy = spy(uut); spy.go(containerMock); verify(containerMock).setWidget(viewMock); verify(spy).updateView(); }