AllReady.UnitTest.Areas.Admin.Features.Tasks.DeleteTaskCommandHandlerShould.DeleteTask C# (CSharp) Method

DeleteTask() private method

private DeleteTask ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public async Task DeleteTask()
        {
            var sut = new DeleteTaskCommandHandler(Context);
            await sut.Handle(new DeleteTaskCommand { TaskId = TaskId });
            Assert.False(Context.Tasks.Any(t => t.Id == TaskId));
        }
    }
DeleteTaskCommandHandlerShould