public async void TestDelete()
        {
            ConnectionFactory connectionFactory = new ConnectionFactory(Environment.Testing);
            ISkierDao         skierDao          = new SkierDao(connectionFactory);

            Skier skier = await InsertSkier(connectionFactory);

            Assert.NotNull(await skierDao.FindById(skier.Id));

            await skierDao.Delete(skier.Id);

            Assert.Null(await skierDao.FindById(skier.Id));
        }
        public async void TestFindById()
        {
            ConnectionFactory connectionFactory = new ConnectionFactory(Environment.Testing);
            ISkierDao         skierDao          = new SkierDao(connectionFactory);

            Skier skier = await InsertSkier(connectionFactory);

            Skier skierFound = await skierDao.FindById(skier.Id);

            Assert.Equal(skier.FirstName, skierFound.FirstName);
            Assert.Equal(skier.Gender, skierFound.Gender);
        }
        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);
        }