ChangeTracking.Tests.IChangeTrackableTests.When_Not_AsTrackable_CastToIChangeTrackable_Should_Throw_InvalidCastException C# (CSharp) 메소드

When_Not_AsTrackable_CastToIChangeTrackable_Should_Throw_InvalidCastException() 개인적인 메소드

        public void When_Not_AsTrackable_CastToIChangeTrackable_Should_Throw_InvalidCastException()
        {
            var order = Helper.GetOrder();

            order.Invoking(o => o.CastToIChangeTrackable()).ShouldThrow<InvalidCastException>();
        }
IChangeTrackableTests