public void GetWeeklyScheduleByDayTest() { ScheduleController sc; UserController uc; List <User> Employees; List <User> PassedEmployees; MySqlConnection connection = CreateConnection(); using (connection) { sc = new ScheduleController(); sc.AssignShifts(); } Assert.AreEqual(3, sc.GetWeeklySchedule(0).Count); }