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));
        }
        public async void TestFindById()
        {
            ConnectionFactory connectionFactory = new ConnectionFactory(Environment.Testing);
            IRaceDao          raceDao           = new RaceDao(connectionFactory);

            Race race = await InsertRace(connectionFactory);

            Race raceFound = await raceDao.FindById(race.Id);

            Assert.Equal(race.Name, raceFound.Name);
            Assert.Equal(race.Gender, raceFound.Gender);
            Assert.Equal(race.RaceType, raceFound.RaceType);
        }
        public async void TestUpdate()
        {
            ConnectionFactory connectionFactory = new ConnectionFactory(Environment.Testing);
            IRaceDao          raceDao           = new RaceDao(connectionFactory);

            Race race = await InsertRace(connectionFactory);

            race.Name     = "Hinterstoder Slalom";
            race.RaceType = RaceType.SuperSlalom;
            await raceDao.Update(race);

            Race raceAfter = await raceDao.FindById(race.Id);

            Assert.Equal(race.Name, raceAfter.Name);
            Assert.Equal(race.RaceType, raceAfter.RaceType);
        }