コード例 #1
0
        public void ShouldSupportAddANewTaskWithSpecifiedTitle()
        {
            var validateTaskTitle = new VerifierNameAndDescription("Go to work", null);
            var taskTitle         = validateTaskTitle.VerifyName();

            taskTitle.ShouldBeTrue();
        }
コード例 #2
0
        public void ShouldNotSupportAddANewTaskWithoutTaskTitle()
        {
            var validateTaskTitle = new VerifierNameAndDescription(null, null);
            var taskTitle         = validateTaskTitle.VerifyName();

            taskTitle.ShouldBeFalse();
        }
コード例 #3
0
 public void ShouldSupportAddANewTaskWithSpecifiedTitle()
 {
     var validateTaskTitle = new VerifierNameAndDescription("Go to work", null);
     var taskTitle = validateTaskTitle.VerifyName();
     taskTitle.ShouldBeTrue();
 }
コード例 #4
0
 public void ShouldNotSupportAddANewTaskWithoutTaskTitle()
 {
     var validateTaskTitle = new VerifierNameAndDescription(null, null);
     var taskTitle = validateTaskTitle.VerifyName();
     taskTitle.ShouldBeFalse();
 }