public void PluginAction_OnPropertyChanged_Null_DoesNotThrow() { bool called = false; var action = new TestPluginAction(); Assert.IsFalse(called); action.TestOnPropertyChanged(); }
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); }