public void CommentService_Void_Success() { var s = new CommentService(); }
public CommentController() { _commentService = new CommentService(); }
public void SetUp() { _commentRepository = Mock.Of<ICommentRepository>(); _commentService = new CommentService(_commentRepository); _comment = new CommentItem() { Id = 1, AddDate = DateTime.Now.AddYears(-1).Date, PersonId = 1, Text = "Тестовая задача номер 1", TaskId = 2 }; }