예제 #1
0
        public void Validate_DenganNomorVB()
        {
            RealizationVbWithPOViewModel viewModel = new RealizationVbWithPOViewModel()
            {
                TypeVBNonPO = "Dengan Nomor VB",
                numberVB    = null
            };

            Assert.True(viewModel.Validate(null).Count() > 0);
        }
예제 #2
0
        public void Validate_TanpaNomorVB()
        {
            RealizationVbWithPOViewModel viewModel = new RealizationVbWithPOViewModel()
            {
                TypeVBNonPO  = "Tanpa Nomor VB",
                numberVB     = null,
                DateEstimate = null,
            };

            Assert.True(viewModel.Validate(null).Count() > 0);
        }
        public void Should_Success_Validate_All_Null_Data()
        {
            var viewModel = new RealizationVbWithPOViewModel();

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