Exemplo n.º 1
0
        public void TestToStringWithNullValueReturnsRelevantItemData()
        {
            var item = new ItemValidation(" Field ", " equals ", null);

            var result = item.ToString();

            Assert.AreEqual("Field equals <NULL>", result);
        }
Exemplo n.º 2
0
        public void TestToStringReturnsRelevantItemData()
        {
            var item = new ItemValidation(" Field ", " equals ", " value ");

            var result = item.ToString();

            Assert.AreEqual("Field equals value", result);
        }