public void SetUp() { _taskRepository = Mock.Of<ITaskRepository>(); _taskService = new TaskService(_taskRepository, _commentRepository); _task = new TaskItem() { Id = 1, Author = "", Deadline = DateTime.Now.AddDays(7).Date, Created = DateTime.Now.Date, Performer = "", Header = "Тестирование демонстрационной задачи", IsOpen = true, IsPerform = false, Mem = "Описание", Number = 1, Priority = 0, Prefix = TaskPrefix.Refactoring }; }
public void TaskService_Void_Success() { var s = new TaskService(); }
public TaskController() { _taskService = new TaskService(); }