public void Validate_DefaultValue()
        {
            GarmentLocalCoverLetterViewModel viewModel = new GarmentLocalCoverLetterViewModel();

            var result = viewModel.Validate(null);

            Assert.NotEmpty(result.ToList());
        }
        public void Validate_EmptyValue()
        {
            GarmentLocalCoverLetterViewModel viewModel = new GarmentLocalCoverLetterViewModel
            {
                noteNo = "noteNo",
                date   = DateTimeOffset.MinValue,
                buyer  = new Buyer {
                    Id = 0
                },
                shippingStaff = new ShippingStaff {
                    id = 0
                }
            };

            var result = viewModel.Validate(null);

            Assert.NotEmpty(result.ToList());
        }