Get documentProvider.delete func and tests