public TaskGroupService(TaskGroupRepository repository) { _repository = repository; }
public void TaskGroupRepositoryTest_When_GetById_ThenThrow_NotImplementedException() { var taskGroupRepo = new TaskGroupRepository(); Assert.ThrowsAsync <NotImplementedException>(async() => await taskGroupRepo.GetById(1)); }
public TaskGroupController(TaskGroupRepository taskGroupRepository, ITaskGroupManager taskGroupManager, ITaskManager taskManager) { _taskGroupRepository = taskGroupRepository; _taskGroupManager = taskGroupManager; _taskManager = taskManager; }
public void TaskGroupRepositoryTest_When_DeleteObject_ThenThrow_NotImplementedException() { var taskGroupRepo = new TaskGroupRepository(); Assert.ThrowsAsync <NotImplementedException>(async() => await taskGroupRepo.Delete(new Structure.TaskGroup())); }