public void TestEmulateChangeValue()
        {
            var slider = new WPFSlider(_target);

            slider.EmulateChangeValue(TestValue);
            Assert.AreEqual(TestValue, slider.Value);
        }
        public void TestEmulateChangeValueAsync()
        {
            var slider = new WPFSlider(_target);

            _app[GetType(), "ChangeValueEvent"](slider.AppVar);
            var async = new Async();
            slider.EmulateChangeValue(TestValue, async);
            new NativeMessageBox(_mainWindow.WaitForNextModal()).EmulateButtonClick("OK");
            async.WaitForCompletion();
            Assert.AreEqual(TestValue, slider.Value);
        }
        public void TestEmulateChangeValueAsync()
        {
            var slider = new WPFSlider(_target);

            _app[GetType(), "ChangeValueEvent"](slider.AppVar);
            var async = new Async();

            slider.EmulateChangeValue(TestValue, async);
            new NativeMessageBox(_mainWindow.WaitForNextModal()).EmulateButtonClick("OK");
            async.WaitForCompletion();
            Assert.AreEqual(TestValue, slider.Value);
        }
 public void TestEmulateChangeValue()
 {
     var slider = new WPFSlider(_target);
     slider.EmulateChangeValue(TestValue);
     Assert.AreEqual(TestValue, slider.Value);
 }