public virtual async Task UpdateAsync() { var t = (T)Activator.CreateInstance(typeof(T)); t.Id = 1; var tUpdated = await _businessfacade.UpdateAsync(t); Assert.Equal(t.Id, tUpdated.Id); }