### Question:
RuntimePresenter { @PreDestroy public void destroy() { clearPipeline(); actionItemPresenterInstance.destroy(startAction); actionItemPresenterInstance.destroy(stopAction); actionItemPresenterInstance.destroy(deleteAction); actionItemSeparatorPresenterInstance.destroy(separator); actionItemSeparatorPresenterInstance.destroy(secondarySeparator); actionItemPresenterInstance.destroy(showErrorAction); } @Inject  RuntimePresenter(final View view,
                            final PipelinePresenter pipelinePresenter,
                            final ManagedInstance<StagePresenter> stagePresenterInstance,
                            final ManagedInstance<TransitionPresenter> transitionPresenterInstance,
                            final ManagedInstance<RuntimeActionItemPresenter> actionItemPresenterInstance,
                            final ManagedInstance<RuntimeActionItemSeparatorPresenter> actionItemSeparatorPresenterInstance,
                            final Caller<RuntimeService> runtimeService,
                            final Event<NotificationEvent> notification,
                            final PopupHelper popupHelper,
                            final TranslationService translationService); @PostConstruct void init(); @PreDestroy void destroy(); View getView(); void setup(final RuntimeListItem runtimeListItem); RuntimeListItem getItem(); void onStageStatusChange(@Observes final StageStatusChangeEvent event); void onPipelineStatusChange(@Observes final PipelineStatusChangeEvent event); void onPipelineExecutionChange(@Observes final PipelineExecutionChangeEvent event); void onRuntimeChangeEvent(@Observes final RuntimeChangeEvent event);  }### Answer:
@Test public void testDestroy() { presenter.destroy(); verify(actionItemPresenterInstance, times(1)).destroy(startActionPresenter); verify(actionItemPresenterInstance, times(1)).destroy(stopActionPresenter); verify(actionItemPresenterInstance, times(1)).destroy(deleteActionPresenter); verify(actionItemSeparatorPresenterInstance, times(1)).destroy(separatorPresenter); verify(actionItemSeparatorPresenterInstance, times(1)).destroy(secondarySeparatorPresenter); }