public void DisabledTests() { _stateTracker.Enabled(true); Assert.AreEqual(NuGenControlState.Normal, _stateTracker.GetControlState()); _stateTracker.Enabled(false); Assert.AreEqual(NuGenControlState.Disabled, _stateTracker.GetControlState()); }
public void DisabledTests() { _ctrl.Enabled = true; _stateTracker.Enabled(_ctrl); Assert.AreEqual(NuGenControlState.Normal, _stateTracker.GetControlState(_ctrl)); _ctrl.Enabled = false; _stateTracker.Disabled(_ctrl); Assert.AreEqual(NuGenControlState.Disabled, _stateTracker.GetControlState(_ctrl)); }