public void Should_Success_Validate_Garment_Invoice_Purchasing_Disposition1()
        {
            var vm = new GarmentInvoicePurchasingDispositionViewModel()
            {
                AccountBank = new AccountBankViewModel(),
                Supplier    = new SupplierViewModel(),
                Items       = new List <GarmentInvoicePurchasingDispositionItemViewModel>()
            };

            Assert.True(vm.Validate(null).Count() > 0);
        }
        public void Should_Success_Validate_Garment_Invoice_Purchasing_Disposition2()
        {
            var vm = new GarmentInvoicePurchasingDispositionViewModel()
            {
                AccountBank = new AccountBankViewModel()
                {
                    Id       = 1,
                    Currency = new CurrencyViewModel()
                    {
                        Code = "IDR"
                    }
                },
                Supplier = new SupplierViewModel(),
                Items    = new List <GarmentInvoicePurchasingDispositionItemViewModel>()
                {
                    new GarmentInvoicePurchasingDispositionItemViewModel()
                },
                PaymentDate = DateTimeOffset.Now.AddMonths(1)
            };

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