public void CreateForMultipleChoice() { Assert.AreEqual(QuestionType.MultipleChoice.ToString(), QuestionTemplateFactory.Create(new QuestionAnswer { QuestionType = QuestionType.MultipleChoice })); }
public void CreateForFiveStars() { Assert.AreEqual(QuestionType.FiveStars.ToString(), QuestionTemplateFactory.Create(new QuestionAnswer { QuestionType = QuestionType.FiveStars })); }
public void CreateForSimpleText() { Assert.AreEqual(QuestionType.SimpleText.ToString(), QuestionTemplateFactory.Create(new QuestionAnswer { QuestionType = QuestionType.SimpleText })); }