public void CanGetAndUpdateItems() { var updater = new ConnectionStringBuilder("User Id=blah; Password=blah2"); foreach (KeyValuePair <string, string> entry in updater.GetEntries()) { updater.Update(entry.Key, entry.Value.ToUpper()); } Assert.AreEqual("user id=BLAH;password=BLAH2", updater.ConnectionString); }