public void GetCalendarRowData_AllEmployees_NotEmptyListCalendarRowData() { //Arrange List <Employee> empList = controller.SearchEmployeeData(""); DateTime fromDate = new DateTime(2010, 01, 01); DateTime toDate = new DateTime(2016, 12, 31); //Act List <CalendarRowViewModel> calendarDataList = controller.GetCalendarRowData(empList, fromDate, toDate); //Assert Assert.AreEqual(24, calendarDataList.Count); Assert.AreEqual("5", calendarDataList.First().id); Assert.AreEqual("fake_row", calendarDataList.Last().id); }