public void TestStopLiveWindowModeTableNull() { using (Solenoid s = NewSolenoid()) { s.Set(true); Assert.That(s.Get, Is.True); s.StopLiveWindowMode(); Assert.That(s.Get, Is.False); } }
public void TestStopLiveWindowModeTable() { using (Solenoid s = NewSolenoid()) { ITable table = new MockNetworkTable(); s.InitTable(table); s.Set(true); Assert.That(s.Get, Is.True); s.StopLiveWindowMode(); Assert.That(s.Get, Is.False); } }