public async void TestDelete() { ConnectionFactory connectionFactory = new ConnectionFactory(Environment.Testing); IRaceDao raceDao = new RaceDao(connectionFactory); Race race = await InsertRace(connectionFactory); Assert.NotNull(await raceDao.FindById(race.Id)); await raceDao.Delete(race.Id); Assert.Null(await raceDao.FindById(race.Id)); }