public async Task CheckIfAccountIsDeleted() { var accounts = await accountProvider.AccountsAsync(); Account account = accounts.FirstOrDefault(); var deleted = await accountProvider.DeleteAsync(account.Id); var reset = await accountProvider.ResetAccountAsync(account); Assert.True(deleted); Assert.True(reset); }
public Task <bool> DeleteAsync(string id) { return(provider.DeleteAsync(id)); }