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