public void Should_Success_Validate_Null_Invoice_Data()
        {
            GarmentInvoicePaymentViewModel vm = new GarmentInvoicePaymentViewModel();

            vm.Items = new List <GarmentInvoicePaymentItemViewModel>
            {
                new GarmentInvoicePaymentItemViewModel()
                {
                    InvoiceId = 0,
                    InvoiceNo = " "
                }
            };

            Assert.True(vm.Validate(null).Count() > 0);
        }
        public void Should_Success_Validate_All_Null_Data()
        {
            GarmentInvoicePaymentViewModel vm = new GarmentInvoicePaymentViewModel();

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