示例#1
0
 public void BaseConvertTO_CanAdd_FromExpressionHasData_ReturnTrue()
 {
     //------------Setup for test--------------------------
     //------------Execute Test---------------------------
     var baseConvertTO = new BaseConvertTO { FromExpression = "Value" };
     //------------Assert Results-------------------------
     Assert.IsTrue(baseConvertTO.CanAdd());
 }
示例#2
0
 public void BaseConvertTO_CanAdd_FromExpressionEmpty_ReturnFalse()
 {
     //------------Setup for test--------------------------
     //------------Execute Test---------------------------
     var baseConvertTO = new BaseConvertTO { FromExpression = string.Empty };
     //------------Assert Results-------------------------
     Assert.IsFalse(baseConvertTO.CanAdd());
 }
示例#3
0
        public void BaseConvertTO_CanAdd_FromExpressionHasData_ReturnTrue()
        {
            //------------Setup for test--------------------------
            //------------Execute Test---------------------------
            var baseConvertTO = new BaseConvertTO {
                FromExpression = "Value"
            };

            //------------Assert Results-------------------------
            Assert.IsTrue(baseConvertTO.CanAdd());
        }
示例#4
0
        public void BaseConvertTO_CanAdd_FromExpressionEmpty_ReturnFalse()
        {
            //------------Setup for test--------------------------
            //------------Execute Test---------------------------
            var baseConvertTO = new BaseConvertTO {
                FromExpression = string.Empty
            };

            //------------Assert Results-------------------------
            Assert.IsFalse(baseConvertTO.CanAdd());
        }