public void ChangeTracker_IsChanged_When_Monitored_Object_Property_Is_Changed()
 {
     var simple = new SimpleObject{Name="Original"};
     var changeTracker = new ChangeTracker { simple };
     simple.Name = "New";
     changeTracker.ShouldHave().Properties(c=>c.IsChanged).EqualTo(new {IsChanged=true});
 }
        public void Object_Is_Tracked_When_Added_To_ChangeTracker()
        {
            var simple = new SimpleObject();

            var changeTracker = new ChangeTracker { simple };
            var tracked = changeTracker.GetTracked();
            tracked.Should().Equal(simple);
        }