Ejemplo n.º 1
0
        public void Should_Success_Validate_All_Null_Data()
        {
            var vm = new NewShipmentDocumentViewModel();


            Assert.True(vm.Validate(null).Count() > 0);
        }
Ejemplo n.º 2
0
        public void Should_Success_Validate_DeliveryDate()
        {
            var vm = new NewShipmentDocumentViewModel()
            {
                DeliveryDate = DateTimeOffset.UtcNow.AddDays(1)
            };

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