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

            sut = sut.EnterLoopSearch();
            sut.LeaveLoopSearch();
        }
        public void EnterUpdateAndLeaveLoopSearchThrows()
        {
            var sut = new StormSourceState();

            sut = sut.EnterUpdate();

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