@Test public void testInit() { presenter.init(); verify( view ).init( presenter ); verify( view ).setProcessConfigView( processConfigPresenterView ); assertEquals( view, presenter.getView() ); }
@PostConstruct public void init() { view.init( this ); view.setProcessConfigView( processConfigPresenter.getView() ); }
ContainerProcessConfigPresenter { @PostConstruct public void init() { view.init( this ); view.setProcessConfigView( processConfigPresenter.getView() ); } }
ContainerProcessConfigPresenter { @PostConstruct public void init() { view.init( this ); view.setProcessConfigView( processConfigPresenter.getView() ); } @Inject  ContainerProcessConfigPresenter( final View view,
                                            final ProcessConfigPresenter processConfigPresenter,
                                            final Caller<SpecManagementService> specManagementService,
                                            final Event<NotificationEvent> notification ); }
ContainerProcessConfigPresenter { @PostConstruct public void init() { view.init( this ); view.setProcessConfigView( processConfigPresenter.getView() ); } @Inject  ContainerProcessConfigPresenter( final View view,
                                            final ProcessConfigPresenter processConfigPresenter,
                                            final Caller<SpecManagementService> specManagementService,
                                            final Event<NotificationEvent> notification ); @PostConstruct void init(); View getView(); void setup( final ContainerSpecKey containerSpecKey,
                       final ProcessConfig processConfig ); void disable(); void save(); void cancel(); }
ContainerProcessConfigPresenter { @PostConstruct public void init() { view.init( this ); view.setProcessConfigView( processConfigPresenter.getView() ); } @Inject  ContainerProcessConfigPresenter( final View view,
                                            final ProcessConfigPresenter processConfigPresenter,
                                            final Caller<SpecManagementService> specManagementService,
                                            final Event<NotificationEvent> notification ); @PostConstruct void init(); View getView(); void setup( final ContainerSpecKey containerSpecKey,
                       final ProcessConfig processConfig ); void disable(); void save(); void cancel();  }