public void StudentControllerCheckResultTest()
        {
            //Arrange
            bool isResultChecked = false;

            var resultAccess = new Mock <ResultAccess>(new DBAccess());

            resultAccess.Setup(t => t.GetResultOfStudent(It.IsAny <string>(), It.IsAny <int>())).Callback(() => isResultChecked = true);

            Student           student           = new Student("Ivan", "Ivanov", "Studak", "Zachotka", "TEST", "ivanov");
            StudentController studentController = new StudentController(resultAccess.Object, student);
            Exam exam = new Exam("SomeExam", 1, 3, 1);

            //Act
            studentController.CheckResult(exam);

            //Assert
            Assert.IsTrue(isResultChecked);
        }