RestorePopUpPresenter { @PostConstruct public void setup() { view.init(this); } @Inject  RestorePopUpPresenter(View view,
                                 BusyIndicatorView busyIndicatorView,
                                 Caller<VersionService> versionService,
                                 Event<RestoreEvent> restoreEvent,
                                 RestoreUtil restoreUtil); @PostConstruct void setup(); void restore(); void show(final ObservablePath currentPath,
                     final String currentVersionRecordUri,
                     final String branchName); void cancel(); ParameterizedCommand<String> restoreCommand(final ObservablePath currentPath,
                                                       final String currentVersionRecordUri,
                                                       final String branchName);  }
@Test public void testSetup() throws Exception { presenter.setup(); verify(view).init(presenter); }