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

            var result = viewModel.Validate(null);

            Assert.True(result.Count() > 0);
        }
        public void Validate_When_ItemsMaterialDeliveryNoteWeaving_moreThan1()
        {
            MaterialDeliveryNoteWeavingViewModel viewModel = new MaterialDeliveryNoteWeavingViewModel();

            viewModel.ItemsMaterialDeliveryNoteWeaving = new List <ItemsMaterialDeliveryNoteWeavingViewModel>()
            {
                new ItemsMaterialDeliveryNoteWeavingViewModel()
            };

            var result = viewModel.Validate(null);

            Assert.True(result.Count() > 0);
        }