public async Task GetAllExamsFromCourseForStudent_ShouldReturnExamsForStudentWithThatId()
        {
            // Arrange
            var expectedExamsDtoList = new List <ExamDto> {
                _examDto
            };
            var course        = _exam.Course;
            var courseDtoList = new List <CourseDto> {
                CourseTestUtils.GetCourseDetailsDto(CourseTestUtils.GetCourse().Id)
            };
            var student = StudentTestUtils.GetStudent();

            _mockCourseService.Setup(service => service.GetCourseById(course.Id)).ReturnsAsync(course);
            _mockStudentCourseService.Setup(service => service.GetCourses(student.Id)).ReturnsAsync(courseDtoList);
            _mockStudentService.Setup(service => service.GetStudentById(student.Id)).ReturnsAsync(student);
            var examsList = new List <Domain.Entities.Exam> {
                ExamTestUtils.GetExam()
            };
            var mockExamsQueryable = examsList.AsQueryable().BuildMock();

            _mockReadRepository.Setup(repo => repo.GetAll <Domain.Entities.Exam>()).Returns(mockExamsQueryable);
            _mockExamMapper.Setup(mapper => mapper.Map(_exam)).Returns(_examDto);
            // Act
            var actualExamsDtoList = await _examService.GetAllExamsFromCourseForStudent(course.Id, student.Id);

            // Assert
            actualExamsDtoList.Should().BeEquivalentTo(expectedExamsDtoList);
        }