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 CloseTheScreenWhenTheScreenIsNotDirty()
        {
            using (mocks.Record())
            {
                Expect.Call(view.IsDirty()).Return(false);
                view.Close();
            }

            using (mocks.Playback())
            {
                OverseerPresenter presenter = new OverseerPresenter(view);
                presenter.Close();
            }
        }
        public void CloseTheScreenWhenTheScreenIsDirtyAndTheUserDecidesToDiscardTheChanges()
        {
            using (mocks.Record())
            {
                Expect.Call(view.IsDirty()).Return(true);
                Expect.Call(view.AskUserToDiscardChanges()).Return(true);
                view.Close();
            }

            using (mocks.Playback())
            {
                OverseerPresenter presenter = new OverseerPresenter(view);
                presenter.Close();
            }
        }
        public void CloseTheScreenWhenTheScreenIsDirtyAndTheUserDecidesToDiscardTheChanges()
        {
            using (mocks.Record())
            {
                Expect.Call(view.IsDirty()).Return(true);
                Expect.Call(view.AskUserToDiscardChanges()).Return(true);
                view.Close();
            }

            using (mocks.Playback())
            {
                OverseerPresenter presenter = new OverseerPresenter(view);
                presenter.Close();
            }
        }