private void preparePipelineStop() { preparePipeline(); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionConfirmStopTitle)).thenReturn(TITLE); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionConfirmStopMessage)).thenReturn(CONFIRM_MESSAGE); presenter.stopPipeline(); verify(popupHelper, times(1)).showYesNoPopup(eq(TITLE), eq(CONFIRM_MESSAGE), yesCommandCaptor.capture(), noCommandCaptor.capture()); }
private void preparePipelineDelete() { preparePipeline(); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionConfirmDeleteTitle)).thenReturn(TITLE); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionConfirmDeleteMessage)).thenReturn(CONFIRM_MESSAGE); presenter.deletePipeline(); verify(popupHelper, times(1)).showYesNoPopup(eq(TITLE), eq(CONFIRM_MESSAGE), yesCommandCaptor.capture(), noCommandCaptor.capture()); }
private void preparePipelineStop() { preparePipeline(); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionConfirmStopTitle)).thenReturn(TITLE); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionConfirmStopMessage)).thenReturn(CONFIRM_MESSAGE); presenter.stopPipeline(); verify(popupHelper, times(1)).showYesNoPopup(eq(TITLE), eq(CONFIRM_MESSAGE), yesCommandCaptor.capture(), noCommandCaptor.capture()); }
private void preparePipelineDelete() { preparePipeline(); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionConfirmDeleteTitle)).thenReturn(TITLE); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionConfirmDeleteMessage)).thenReturn(CONFIRM_MESSAGE); presenter.deletePipeline(); verify(popupHelper, times(1)).showYesNoPopup(eq(TITLE), eq(CONFIRM_MESSAGE), yesCommandCaptor.capture(), noCommandCaptor.capture()); }