public void DataMergeDTO_CanAdd_WithNoInputVarAndNoAt_ReturnFalse() { //------------Setup for test-------------------------- //------------Execute Test--------------------------- var dataMergeDTO = new DataMergeDTO(string.Empty, null, null, 1, null, null); //------------Assert Results------------------------- Assert.IsFalse(dataMergeDTO.CanAdd()); }
public void DataMergeDTO_CanAdd_WithIndexMergeTypeAndNoOtherValues_ReturnFalse() { //------------Setup for test-------------------------- //------------Execute Test--------------------------- var dataMergeDTO = new DataMergeDTO(string.Empty, "Index", null, 1, null, null); //------------Assert Results------------------------- Assert.IsFalse(dataMergeDTO.CanAdd()); }
public void DataMergeDTO_CanAdd_WithNoInputVarButValueForAt_ReturnTrue() { //------------Setup for test-------------------------- //------------Execute Test--------------------------- var dataMergeDTO = new DataMergeDTO(string.Empty, null, "|", 1, null, null); //------------Assert Results------------------------- Assert.IsTrue(dataMergeDTO.CanAdd()); }