@Test public void showErrorTest() { final String title = "title"; final String text = "text"; final Throwable throwable = new Throwable(); view.showError(title, text, throwable); verify(alertFactory).showError(same(title), same(text), same (throwable)); }
@Override public void showError(final String header, final String message, final Throwable throwable) { alertFactory.showError(header, message, throwable); }
JavafxMainWindowView extends JavafxView<MainWindowPresenter, MainWindowDisplay> implements MainWindowView { @Override public void showError(final String header, final String message, final Throwable throwable) { alertFactory.showError(header, message, throwable); } }
JavafxMainWindowView extends JavafxView<MainWindowPresenter, MainWindowDisplay> implements MainWindowView { @Override public void showError(final String header, final String message, final Throwable throwable) { alertFactory.showError(header, message, throwable); } JavafxMainWindowView(final Stage stage,
        final GuiTaskRunner taskRunner, final AlertFactory alertFactory); }
JavafxMainWindowView extends JavafxView<MainWindowPresenter, MainWindowDisplay> implements MainWindowView { @Override public void showError(final String header, final String message, final Throwable throwable) { alertFactory.showError(header, message, throwable); } JavafxMainWindowView(final Stage stage,
        final GuiTaskRunner taskRunner, final AlertFactory alertFactory); @Override Path chooseFile(); @Override void setWindowTitle(final String windowTitle); @Override void showError(final String header, final String message,
        final Throwable throwable); @Override void attachPresenter(final TracePresenter presenter); }
JavafxMainWindowView extends JavafxView<MainWindowPresenter, MainWindowDisplay> implements MainWindowView { @Override public void showError(final String header, final String message, final Throwable throwable) { alertFactory.showError(header, message, throwable); } JavafxMainWindowView(final Stage stage,
        final GuiTaskRunner taskRunner, final AlertFactory alertFactory); @Override Path chooseFile(); @Override void setWindowTitle(final String windowTitle); @Override void showError(final String header, final String message,
        final Throwable throwable); @Override void attachPresenter(final TracePresenter presenter);  }