### Question:
ProcessConfigPresenter { void onDependencyPathSelectedEvent(@Observes final DependencyPathSelectedEvent event) throws IOException { if (event != null && event.getContext() != null && event.getPath() != null) { deploymentDescriptorService.call(processConfigModule -> { ProcessConfigModule module = (ProcessConfigModule) processConfigModule; view.setContent(ClientRuntimeStrategy.convert(module.getRuntimeStrategy()).getValue(view.getTranslationService()), module.getKBase(), module.getKSession(), ClientMergeMode.MERGE_COLLECTIONS.getValue(view.getTranslationService())); }).getProcessConfig(event.getPath()); } } @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();  }### Answer:
@Test public void testOnDependencyPathSelectedEvent() throws IOException { final String path = "org:kie:1.0"; when(deploymentDescriptorService.getProcessConfig(path)).thenReturn(new ProcessConfigModule(RuntimeStrategy.SINGLETON, "mykiebase", "mykiesession")); presenter.onDependencyPathSelectedEvent(new DependencyPathSelectedEvent("", path)); verify(view).setContent("ClientRuntimeStrategy.Singleton", "mykiebase", "mykiesession", "ClientMergeMode.MergeCollections"); }