@Test public void testCancel() { presenter.cancel(); verify( view ).enableActions(); verify( processConfigPresenter ).setProcessConfig( processConfig ); }
public void cancel() { setupView( processConfigPresenter.getProcessConfig() ); }
ContainerProcessConfigPresenter { public void cancel() { setupView( processConfigPresenter.getProcessConfig() ); } }
ContainerProcessConfigPresenter { public void cancel() { setupView( processConfigPresenter.getProcessConfig() ); } @Inject  ContainerProcessConfigPresenter( final View view,
                                            final ProcessConfigPresenter processConfigPresenter,
                                            final Caller<SpecManagementService> specManagementService,
                                            final Event<NotificationEvent> notification ); }
ContainerProcessConfigPresenter { public void cancel() { setupView( processConfigPresenter.getProcessConfig() ); } @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 { public void cancel() { setupView( processConfigPresenter.getProcessConfig() ); } @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();  }