Пример #1
0
 public void CaseConvertTO_CanAdd_StringToConvertnHasData_ReturnTrue()
 {
     //------------Setup for test--------------------------
     //------------Execute Test---------------------------
     var caseConvertTO = new CaseConvertTO { StringToConvert = "Value" };
     //------------Assert Results-------------------------
     Assert.IsTrue(caseConvertTO.CanAdd());
 }
Пример #2
0
 public void CaseConvertTO_CanAdd_StringToConvertEmpty_ReturnFalse()
 {
     //------------Setup for test--------------------------
     //------------Execute Test---------------------------
     var caseConvertTO = new CaseConvertTO { StringToConvert = string.Empty };
     //------------Assert Results-------------------------
     Assert.IsFalse(caseConvertTO.CanAdd());
 }
Пример #3
0
        public void CaseConvertTO_CanAdd_StringToConvertnHasData_ReturnTrue()
        {
            //------------Setup for test--------------------------
            //------------Execute Test---------------------------
            var caseConvertTO = new CaseConvertTO {
                StringToConvert = "Value"
            };

            //------------Assert Results-------------------------
            Assert.IsTrue(caseConvertTO.CanAdd());
        }
Пример #4
0
        public void CaseConvertTO_CanAdd_StringToConvertEmpty_ReturnFalse()
        {
            //------------Setup for test--------------------------
            //------------Execute Test---------------------------
            var caseConvertTO = new CaseConvertTO {
                StringToConvert = string.Empty
            };

            //------------Assert Results-------------------------
            Assert.IsFalse(caseConvertTO.CanAdd());
        }