ChangeTracking.Tests.IChangeTrackableTests.When_ComplexProperty_Children_Trackable_Set_CoomplexProperty_And_Change_Property_Should_Raise_StatusChanged_Event C# (CSharp) Method

When_ComplexProperty_Children_Trackable_Set_CoomplexProperty_And_Change_Property_Should_Raise_StatusChanged_Event() private method

        public void When_ComplexProperty_Children_Trackable_Set_CoomplexProperty_And_Change_Property_Should_Raise_StatusChanged_Event()
        {
            var order = Helper.GetOrder();
            var trackable = order.AsTrackable();

            trackable.Address = new Address();
            trackable.CastToIChangeTrackable().AcceptChanges();
            trackable.MonitorEvents();
            trackable.Address.AddressId = 123;

            trackable.ShouldRaise("StatusChanged");
        }
IChangeTrackableTests