public async void TestUpdate() { ConnectionFactory connectionFactory = new ConnectionFactory(Environment.Testing); ISkierDao skierDao = new SkierDao(connectionFactory); Skier skier = await InsertSkier(connectionFactory); skier.FirstName = "Andrea"; skier.Gender = Gender.Female; await skierDao.Update(skier); Skier skierAfter = await skierDao.FindById(skier.Id); Assert.Equal(skier.FirstName, skierAfter.FirstName); Assert.Equal(skier.Gender, skierAfter.Gender); }