Ejemplo n.º 1
0
        public void ShouldSupportAddANewTaskWithSpecifiedTitle()
        {
            var validateTaskTitle = new VerifierNameAndDescription("Go to work", null);
            var taskTitle         = validateTaskTitle.VerifyName();

            taskTitle.ShouldBeTrue();
        }
Ejemplo n.º 2
0
        public void ShouldNotSupportAddANewTaskWithoutTaskTitle()
        {
            var validateTaskTitle = new VerifierNameAndDescription(null, null);
            var taskTitle         = validateTaskTitle.VerifyName();

            taskTitle.ShouldBeFalse();
        }
Ejemplo n.º 3
0
 public void ShouldSupportAddANewTaskWithSpecifiedTitle()
 {
     var validateTaskTitle = new VerifierNameAndDescription("Go to work", null);
     var taskTitle = validateTaskTitle.VerifyName();
     taskTitle.ShouldBeTrue();
 }
Ejemplo n.º 4
0
 public void ShouldNotSupportAddANewTaskWithoutTaskTitle()
 {
     var validateTaskTitle = new VerifierNameAndDescription(null, null);
     var taskTitle = validateTaskTitle.VerifyName();
     taskTitle.ShouldBeFalse();
 }