public void AddComment_Succeeds()
        {
            DateTime   date       = DateTime.Today;
            TimeOfDay  timeOfDay  = TimeOfDay.AVOND;
            int        activityId = 1;
            int        userId     = 2;
            CommentDTO commentDTO = new CommentDTO()
            {
                Comment = "Dit was een zeer leuke activiteit"
            };

            _dayActivityRepository.Setup(d => d.GetCustomDayActivity(date, timeOfDay, activityId)).Returns(_dummyDBContext.DayActivity1);

            ActionResult <Attendance> actionResult = _controller.AddComment(date, timeOfDay, activityId, userId, commentDTO);
            var        response         = actionResult?.Result as OkObjectResult;
            Attendance attendanceToEdit = response?.Value as Attendance;

            Assert.Equal(commentDTO.Comment, attendanceToEdit?.Comment);

            _dayActivityRepository.Verify(d => d.SaveChanges(), Times.Once());
        }