@Before public void setUp() { super.setUp(); when(popupHelper.getPopupErrorCallback()).thenReturn(defaultErrorCallback); exceptionCaptor = ArgumentCaptor.forClass(Exception.class); yesCommandCaptor = ArgumentCaptor.forClass(Command.class); noCommandCaptor = ArgumentCaptor.forClass(Command.class); }
@Before public void setUp() { super.setUp(); when(popupHelper.getPopupErrorCallback()).thenReturn(defaultErrorCallback); exceptionCaptor = ArgumentCaptor.forClass(Exception.class); yesCommandCaptor = ArgumentCaptor.forClass(Command.class); noCommandCaptor = ArgumentCaptor.forClass(Command.class); }
@Before public void setUp() { super.setUp(); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionStopAction)).thenReturn(STOP_PIPELINE_ACTION); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionDeleteAction)).thenReturn(DELETE_PIPELINE_ACTION); when(translationService.getTranslation(RuntimePresenter_RuntimeStartAction)).thenReturn(START_RUNTIME_ACTION); when(translationService.getTranslation(RuntimePresenter_RuntimeStopAction)).thenReturn(STOP_RUNTIME_ACTION); when(translationService.getTranslation(RuntimePresenter_RuntimeDeleteAction)).thenReturn(DELETE_RUNTIME_ACTION); }
@Before public void setUp() { super.setUp(); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionStopAction)).thenReturn(STOP_PIPELINE_ACTION); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionDeleteAction)).thenReturn(DELETE_PIPELINE_ACTION); when(translationService.getTranslation(RuntimePresenter_PipelineExecutionShowErrorAction)).thenReturn(SHOW_PIPELINE_ERROR_ACTION); when(translationService.getTranslation(RuntimePresenter_RuntimeStartAction)).thenReturn(START_RUNTIME_ACTION); when(translationService.getTranslation(RuntimePresenter_RuntimeStopAction)).thenReturn(STOP_RUNTIME_ACTION); when(translationService.getTranslation(RuntimePresenter_RuntimeDeleteAction)).thenReturn(DELETE_RUNTIME_ACTION); }