public async Task CheckAccountNotPresent() { var users = await userProvider.UsersAsync(); User user = users.FirstOrDefault(); // virificare che non sia nullo var accounts = await userProvider.AccountsNotPresentAsync(user.Id); //Assert Assert.IsAssignableFrom <List <Account> >(accounts); }
public Task <ICollection <Account> > AccountsNotPresentAsync(string id) { return(provider.AccountsNotPresentAsync(id)); }