public void DeleteTask() { //Arrange var service = new TechService(); //Act TechTask task = service.CreateTask("Запрос в службу поддержки №1"); service.DeleteTask(task); //Assert Assert.AreEqual(TechTaskStatus.Canceled, task.Status); }