public void EnterUpdateAndLeaveUpdateReturns()
        {
            var sut = new StormSourceState();

            sut = sut.EnterUpdate();
            sut.LeaveUpdate(true);
        }
        public void EnterLoopSearchAndLeaveUpdateThrows()
        {
            var sut = new StormSourceState();

            sut = sut.EnterLoopSearch();

            Assert.Throws <InvalidOperationException>(() => sut.LeaveUpdate(true));
        }
        public void LeaveUpdateThrows()
        {
            var sut = new StormSourceState();

            Assert.Throws <InvalidOperationException>(() => sut.LeaveUpdate(true));
        }