//Test the end task functionality public void ShouldEndTask() { var taskId = 3; _mockRepository.EndTask(taskId); var updatedTask = _mockRepository.GetTask(taskId); Assert.IsTrue(updatedTask.TaskStatus == "N"); }
public void EndTask(int taskId) { _projDL.EndTask(taskId); }