public void ToClientQuestionAnswerReturnsAnswer() { var clientQuestionAnswer = MappingExtensions.ToQuestionAnswer(new QuestionAnswer { QuestionText = "questiontext", Answer = "answervalue", QuestionType = "SimpleText" }); Assert.AreEqual("questiontext", clientQuestionAnswer.QuestionText); Assert.AreEqual("answervalue", clientQuestionAnswer.Answer); Assert.AreEqual(Client.Models.QuestionType.SimpleText, clientQuestionAnswer.QuestionType); }