public void GetLength() { var delta = 365; var length = delta + 1; var vacation = new Vacation() { Start = DateTime.Today, End = DateTime.Today.AddDays(delta) }; Assert.Equal(length, vacation.GetLength()); }