CanAdd() 공개 메소드

public CanAdd ( ) : bool
리턴 bool
 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());
 }
 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_WithNewLineMergeTypeAndNoOtherValues_ReturnTrue()
 {
     //------------Setup for test--------------------------
     //------------Execute Test---------------------------
     var dataMergeDTO = new DataMergeDTO(string.Empty, "NewLine", null, 1, null, null);
     //------------Assert Results-------------------------
     Assert.IsTrue(dataMergeDTO.CanAdd());
 }