コード例 #1
0
        public void CaseConvertTO_ClearRow_StringToConvert_ReturnsStringToConvertRule()
        {
            //------------Setup for test--------------------------
            var caseConvertTO = new CaseConvertTO {
                StringToConvert = "Value"
            };

            //------------Execute Test---------------------------
            caseConvertTO.ClearRow();
            //------------Assert Results-------------------------
            Assert.AreEqual("UPPER", caseConvertTO.ConvertType);
            Assert.AreEqual(string.Empty, caseConvertTO.StringToConvert);
            Assert.AreEqual(string.Empty, caseConvertTO.Result);
        }