public void EnterUpdateAndEnterUpdateThrows() { var sut = new StormSourceState(); sut = sut.EnterUpdate(); Assert.Throws <InvalidOperationException>(() => sut.EnterUpdate()); }
public void EnterUpdateAndEnterLoopSearchReturns() { var sut = new StormSourceState(); sut = sut.EnterUpdate(); sut.EnterLoopSearch(); }
public void EnterUpdateAndLeaveUpdateReturns() { var sut = new StormSourceState(); sut = sut.EnterUpdate(); sut.LeaveUpdate(true); }
public void EnterUpdateReturns() { var sut = new StormSourceState(); sut.EnterUpdate(); }