public void Id() { //Arrange const int id = int.MaxValue; //Act var question = new SyndicationQuestionDto { Id = id }; //Assert Assert.AreEqual(id, question.Id); }
public void DateAnswered() { //Arrange var date = DateTime.Now; //Act var question = new SyndicationQuestionDto { DateAnswered = date }; //Assert Assert.AreEqual(date, question.DateAnswered); }
public void CategoryName() { //Arrange const string categoryName = "Awesome category name"; //Act var question = new SyndicationQuestionDto { CategoryName = categoryName }; //Assert Assert.AreEqual(categoryName, question.CategoryName); }
public void QuestionText() { //Arrange const string text = "Awesome Text"; //Act var question = new SyndicationQuestionDto { QuestionText = text }; //Assert Assert.AreEqual(text, question.QuestionText); }