@Test public void loadTest() throws InterruptedException { doNothing().when(presenter).pollStatus(); doNothing().when(presenter).loadTreeTab(); doNothing().when(presenter).loadMatchesTab(); doNothing().when(presenter).loadRulesTab(); doNothing().when(presenter).loadTreeDepthTab(); presenter.load(); verify(presenter).pollStatus(); verify(presenter).loadTreeTab(); verify(presenter).loadMatchesTab(); verify(presenter).loadRulesTab(); verify(presenter).loadTreeDepthTab(); }
@Override public void load() { taskRunner.executeBackgroundOrFail(this::pollStatus, this::loadError); loadTreeTab(); loadMatchesTab(); loadRulesTab(); loadTreeDepthTab(); }
TracePresenter extends BasePresenter<TraceView> { @Override public void load() { taskRunner.executeBackgroundOrFail(this::pollStatus, this::loadError); loadTreeTab(); loadMatchesTab(); loadRulesTab(); loadTreeDepthTab(); } }
TracePresenter extends BasePresenter<TraceView> { @Override public void load() { taskRunner.executeBackgroundOrFail(this::pollStatus, this::loadError); loadTreeTab(); loadMatchesTab(); loadRulesTab(); loadTreeDepthTab(); } TracePresenter(final MainWindowView mainView,
        final GuiTaskRunner taskRunner, final TraceDb traceDb); }
TracePresenter extends BasePresenter<TraceView> { @Override public void load() { taskRunner.executeBackgroundOrFail(this::pollStatus, this::loadError); loadTreeTab(); loadMatchesTab(); loadRulesTab(); loadTreeDepthTab(); } TracePresenter(final MainWindowView mainView,
        final GuiTaskRunner taskRunner, final TraceDb traceDb); @Override void load(); void loadRulesTab(); @OnUiThread @VisibleForTesting RulesTabPresenter createRulesTabPresenter(); void loadTreeDepthTab(); void handleTabsRefreshEvent(); void close(); @Override @Nonnull String toString(); }
TracePresenter extends BasePresenter<TraceView> { @Override public void load() { taskRunner.executeBackgroundOrFail(this::pollStatus, this::loadError); loadTreeTab(); loadMatchesTab(); loadRulesTab(); loadTreeDepthTab(); } TracePresenter(final MainWindowView mainView,
        final GuiTaskRunner taskRunner, final TraceDb traceDb); @Override void load(); void loadRulesTab(); @OnUiThread @VisibleForTesting RulesTabPresenter createRulesTabPresenter(); void loadTreeDepthTab(); void handleTabsRefreshEvent(); void close(); @Override @Nonnull String toString();  }