Esempio n. 1
0
        public void Change_StartDate_success()
        {
            var expected = task.StartDate.AddDays(-1);

            task.ChangeStartDate(expected);

            Assert.AreEqual(expected, task.StartDate, "StartDate was not set to needed");
        }
Esempio n. 2
0
        public TaskEntityBuilder WithStartDate(DateTime date)
        {
            task.ChangeStartDate(date);

            return(this);
        }