@Test
public void testShowError() {

    final ClientRuntimeError error = mock(ClientRuntimeError.class);
    when(error.getCause()).thenReturn("errorCause");
    presenter.showError(error);
    verify(errorPopupPresenter, times(1)).showMessage(anyString());
    verify(view, times(0)).setWidget(any(IsWidget.class));
    verify(editWorkflow, times(0)).clear();
    verify(editWorkflow, times(0)).clearButtons();
    verify(editWorkflow, times(0)).showTestButton();
    verify(editWorkflow, times(0)).showNextButton();
    verify(editWorkflow, times(0)).showBackButton();
    verify(editWorkflow, times(0)).edit(any(DataSetDef.class), any(List.class));
}