public void ShowsErrorIfLoadDashboardsButtonClickedWithInvalidJiraUrl()
        {
            _presenter.Initialize(_view);
            _view.JiraUrl = "bad";

            //

            _view.LoadDashboardsButtonClicked += Raise.Event();

            //

            _errors.Received().ShowErrorMessage(_view, Arg.Any <string>(), Arg.Any <string>());
            _preferences.DidNotReceive().SetPreferences(Arg.Any <Preferences>());
        }