Esempio n. 1
0
        public void PluginAction_OnPropertyChanged_Null_DoesNotThrow()
        {
            bool called = false;
            var  action = new TestPluginAction();

            Assert.IsFalse(called);

            action.TestOnPropertyChanged();
        }
Esempio n. 2
0
        public void PluginAction_OnPropertyChanged()
        {
            bool called = false;
            var  action = new TestPluginAction();

            action.PropertyChanged += (s, e) => { called = true; };

            Assert.IsFalse(called);

            action.TestOnPropertyChanged();

            Assert.IsTrue(called);
        }