Пример #1
0
        public void Should_Success_Validate_All_Null_Data()
        {
            var vm = new NewShipmentDocumentViewModel();


            Assert.True(vm.Validate(null).Count() > 0);
        }
Пример #2
0
        public void Should_Success_Validate_DeliveryDate()
        {
            var vm = new NewShipmentDocumentViewModel()
            {
                DeliveryDate = DateTimeOffset.UtcNow.AddDays(1)
            };

            Assert.True(vm.Validate(null).Count() > 0);
        }