Example #1
0
        public ActionResult <IEnumerable <string> > Get()
        {
            var listQuestions = new ListQuestions();
            var questions     = listQuestions.Execute();

            return(questions);
        }
        public void ReturnTheListOfQuestions()
        {
            var listQuestions         = new ListQuestions();
            var listQuestionsResponse = listQuestions.Execute();

            listQuestionsResponse.Should().BeEquivalentTo("one", "two");
        }