Beispiel #1
0
        void GetNextQuestion_NextQuestion()
        {
            //    Arrange
            var answer = new Answer()
            {
                AnswerId       = 10,
                NextQuestionId = 6
            };
            //    Act
            var question = controller.NextQuestion(answer).Value;

            //    Assert
            Assert.NotNull(question);
            Assert.Equal("ARE YOU MAXING OUT THE CONTRIBUTION AND MATCH?", question.TextDisplay);
        }