public void GetConnectionString_Default_Sane()
        {
            var options = new MySqlConnectionOptions();

            var connString = options.GetConnectionString();

            Assert.Equal("host=localhost;maxpoolsize=25;minpoolsize=1;", connString);
        }
        public void GetConnectionString_AllOptionsSet_Valid()
        {
            var options = new MySqlConnectionOptions
            {
                Host            = "why",
                Database        = "do you",
                MaximumPoolSize = 11,
                MinimumPoolSize = 2,
                Password        = "******",
                Port            = 8888,
                Username        = "******",
                LoadBalance     = LoadBalance.LeastConnections
            };

            var connString = options.GetConnectionString();

            Assert.Equal(
                "host=why;maxpoolsize=11;minpoolsize=2;database=do you;password=only call me;port=8888;username=when you're high?;loadbalance=leastconnections;",
                connString);
        }