示例#1
0
        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());
        }
示例#2
0
        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());
        }
示例#3
0
        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());
        }