public void DependsOn_TwoLevelTreeWithVaryingTypes_FiresUpdatesProperly() { var root = new ReactiveType0(); var child = new ReactiveType1(); var person = new ReactivePerson(); root.ChildReactiveType1 = child; child.ChildReactivePerson = person; person.Name = "Jim"; //child.Name = "Bob"; Assert.AreEqual(3, root.Updates); }
public void DependsOn_TwoLevelTreeWithVaryingTypes_FiresUpdatesProperly() { var root = new ReactiveType0(); var child = new ReactiveType1(); var person = new ReactivePerson(); root.ChildReactiveType1 = child; child.ChildReactivePerson = person; person.Name = "Jim"; //child.Name = "Bob"; Assert.AreEqual(3, root.Updates); }