@Test public void handleCloseWindowWithPresenterTest() { presenter.tracePresenter = mock(TracePresenter.class); presenter.handleCloseWindow(); verify(presenter.tracePresenter).close(); verify(factory).close(presenter); }
public void handleCloseWindow() { if (tracePresenter != null) tracePresenter.close(); windowFactory.close(this); }
MainWindowPresenter extends BasePresenter<MainWindowView> { public void handleCloseWindow() { if (tracePresenter != null) tracePresenter.close(); windowFactory.close(this); } }
MainWindowPresenter extends BasePresenter<MainWindowView> { public void handleCloseWindow() { if (tracePresenter != null) tracePresenter.close(); windowFactory.close(this); } MainWindowPresenter(final MainWindowFactory windowFactory,
        final GuiTaskRunner taskRunner, final ZipTraceDbFactory factory); }
MainWindowPresenter extends BasePresenter<MainWindowView> { public void handleCloseWindow() { if (tracePresenter != null) tracePresenter.close(); windowFactory.close(this); } MainWindowPresenter(final MainWindowFactory windowFactory,
        final GuiTaskRunner taskRunner, final ZipTraceDbFactory factory); @Override void load(); void handleCloseWindow(); void handleNewWindow(); void handleLoadFile(); }
MainWindowPresenter extends BasePresenter<MainWindowView> { public void handleCloseWindow() { if (tracePresenter != null) tracePresenter.close(); windowFactory.close(this); } MainWindowPresenter(final MainWindowFactory windowFactory,
        final GuiTaskRunner taskRunner, final ZipTraceDbFactory factory); @Override void load(); void handleCloseWindow(); void handleNewWindow(); void handleLoadFile();  }