public void CloseTheScreenWhenTheScreenIsNotDirty()
        {
            using (mocks.Record())
            {
                Expect.Call(view.IsDirty()).Return(false);
                view.Close();
            }

            using (mocks.Playback())
            {
                OverseerPresenter presenter = new OverseerPresenter(view);
                presenter.Close();
            }
        }
        public void Close()
        {
            bool canClose = true;

            if (_view.IsDirty())
            {
                canClose = _view.AskUserToDiscardChanges();
            }

            if (canClose)
            {
                _view.Close();
            }
        }