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

RejectChanges_Should_RejectChanges() private method

private RejectChanges_Should_RejectChanges ( ) : void
return void
        public void RejectChanges_Should_RejectChanges()
        {
            var order = Helper.GetOrder();

            var trackable = order.AsTrackable();
            trackable.Id = 963;
            trackable.CustomerNumber = "Testing";
            var intf = trackable.CastToIChangeTrackable();
            intf.RejectChanges();

            trackable.ShouldBeEquivalentTo(Helper.GetOrder().AsTrackable());
        }
IChangeTrackableTests