public WorkflowUtilities()
 {
     this._flexableDto = new OrderDto();
     this._validate = new ValidationTools();
     this._stateBus = new StateBusiness();
     this._prodBus = new ProductBusiness();
 }
Пример #2
0
        public void GetNameTest(string input, bool expected)
        {
            ValidationTools obj = new ValidationTools();

            bool actual = obj.ValidateCustomerName(input);

            Assert.AreEqual(expected, actual);
        }
Пример #3
0
        public void GetIntTest(string input, bool expected)
        {
            ValidationTools obj = new ValidationTools();

            bool actual = obj.ValidateInt(input);

            Assert.AreEqual(expected, actual);
        }