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

Change_Property_From_Null_To_Value_Should_Not_Throw() private method

        public void Change_Property_From_Null_To_Value_Should_Not_Throw()
        {
            var trackable = new Order { Id = 321, CustomerNumber = null }.AsTrackable();

            trackable.Invoking(o => o.CustomerNumber = "Test").ShouldNotThrow<NullReferenceException>();
        }
IChangeTrackableTests