예제 #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());
        }