ChangeTracking.Tests.IChangeTrackableTests.Change_Property_Should_Raise_StatusChanged_Event C# (CSharp) Méthode

Change_Property_Should_Raise_StatusChanged_Event() private méthode

private Change_Property_Should_Raise_StatusChanged_Event ( ) : void
Résultat void
        public void Change_Property_Should_Raise_StatusChanged_Event()
        {
            var order = Helper.GetOrder();
            var trackable = order.AsTrackable();
            trackable.MonitorEvents();

            trackable.CustomerNumber = "Test1";

            trackable.ShouldRaise("StatusChanged");
        }
IChangeTrackableTests