public void GetQuestionByIdTest()
        {
            var dbQuestion   = DbContext.Questions.FirstOrDefault();
            var dbQuestionId = dbQuestion.Id;

            Assert.IsTrue(dbQuestionId > 0);

            Question q = QRep.getQuestionById(dbQuestionId);

            Assert.AreEqual(dbQuestion.Id, q.Id);
            Assert.AreEqual(dbQuestion.QuestionText, q.QuestionText);
        }
        public void SetQuestionStatisticsOneUpTest()
        {
            var dbQuestion = DbContext.Questions.FirstOrDefault();

            Assert.IsTrue(dbQuestion != null);

            var questionCorectness  = dbQuestion.CorrectCount;
            var questionAnswered    = dbQuestion.AnsweredCount;
            var questionTrueOrFalse = true;

            QRep.SetQuestionStatisticsOneUp(questionTrueOrFalse, dbQuestion.Id);

            var question = QRep.getQuestionById(dbQuestion.Id);

            Assert.AreNotEqual(questionCorectness, question.CorrectCount);

            dbQuestion.CorrectCount = questionCorectness;
        }