示例#1
0
        public void ShouldSupportAddANewTaskWithDescription()
        {
            var validateTaskTitle = new VerifierNameAndDescription("Go to work", "something to do");
            var taskDescription   = validateTaskTitle.VerifyDescription();

            Assert.AreEqual("something to do", taskDescription);
        }
示例#2
0
        public void ShouldSupportAddANewTaskWithoutDescription()
        {
            var validateTaskTitle = new VerifierNameAndDescription("Go to work", null);
            var taskDescription   = validateTaskTitle.VerifyDescription();

            Assert.AreEqual(null, taskDescription);
        }
示例#3
0
 public void ShouldSupportAddANewTaskWithoutDescription()
 {
     var validateTaskTitle = new VerifierNameAndDescription("Go to work", null);
     var taskDescription = validateTaskTitle.VerifyDescription();
     Assert.AreEqual(null, taskDescription);
 }
示例#4
0
 public void ShouldSupportAddANewTaskWithDescription()
 {
     var validateTaskTitle = new VerifierNameAndDescription("Go to work", "something to do");
     var taskDescription = validateTaskTitle.VerifyDescription();
     Assert.AreEqual("something to do", taskDescription);
 }