@Test public void testCancel() { final ProcessConfig processConfig = new ProcessConfig( ClientRuntimeStrategy.PER_CASE.toString(), "kBase", "kSession", ClientMergeMode.OVERRIDE_ALL.toString() ); presenter.setProcessConfig( processConfig ); presenter.cancel(); verify( view, times( 2 ) ).setContent( ClientRuntimeStrategy.PER_CASE.getValue( translationService ), processConfig.getKBase(), processConfig.getKSession(), ClientMergeMode.OVERRIDE_ALL.getValue( translationService ) ); }
public void cancel() { setupView(this.processConfig); }
ProcessConfigPresenter { public void cancel() { setupView(this.processConfig); } }
ProcessConfigPresenter { public void cancel() { setupView(this.processConfig); } @Inject  ProcessConfigPresenter(final View view, Caller<DeploymentDescriptorService> deploymentDescriptorService); }
ProcessConfigPresenter { public void cancel() { setupView(this.processConfig); } @Inject  ProcessConfigPresenter(final View view, Caller<DeploymentDescriptorService> deploymentDescriptorService); @PostConstruct void init(); View getView(); void setup(final ContainerSpecKey containerSpecKey,
                      final ProcessConfig processConfig); void clear(); void setProcessConfig(final ProcessConfig processConfig); ContainerSpecKey getContainerSpecKey(); ProcessConfig getProcessConfig(); void disable(); void cancel(); ProcessConfig buildProcessConfig(); List<String> getRuntimeStrategies(); List<String> getMergeModes(); }
ProcessConfigPresenter { public void cancel() { setupView(this.processConfig); } @Inject  ProcessConfigPresenter(final View view, Caller<DeploymentDescriptorService> deploymentDescriptorService); @PostConstruct void init(); View getView(); void setup(final ContainerSpecKey containerSpecKey,
                      final ProcessConfig processConfig); void clear(); void setProcessConfig(final ProcessConfig processConfig); ContainerSpecKey getContainerSpecKey(); ProcessConfig getProcessConfig(); void disable(); void cancel(); ProcessConfig buildProcessConfig(); List<String> getRuntimeStrategies(); List<String> getMergeModes();  }