Beispiel #1
0
            public void ChangingSelection_DoesNotChangeModified(bool initiallyModified)
            {
                var initialBrowser = initiallyModified
                    ? _browser.MarkAsModified()
                    : _browser.MarkAsUnmodified();
                var browser = initialBrowser.WithSelection(_bar);

                browser.Modified.Should().Be(initialBrowser.Modified);
            }
Beispiel #2
0
            public void SetsPropertyModified()
            {
                var browser = _browser.MarkAsModified();

                browser.Modified.Should().BeTrue();
            }