public async Task DeleteUser_Success() { //act await Story .DeleteUser(_userModel.Id) .ConfigureAwait(false); //assert _loggingWork.Verify(d => d.DeleteUserAsync(It.Is <int>(u => u == _userModel.Id))); }
public async Task Delete(int id) { await UserStory .DeleteUser(id) .ConfigureAwait(false); }