public void GetConnectionStringReturnsNullForNotFoundString()
        {
            var target = new DefaultWebConfigurationManager();

            var result = target.GetConnectionString("very unknown name");

            Assert.IsNull(result);
        }
        public void GetConnectionStringReturnsFoundString()
        {
            var target = new DefaultWebConfigurationManager();

            var result = target.GetConnectionString("defaultName1");

            Assert.AreEqual("System.Data.SqlClient", result.ProviderName);
            Assert.AreEqual("defaultString1", result.ConnectionString);
        }