public void TestReplaceDictionary() { SynchronizedDictionary <string, string> test = new SynchronizedDictionary <string, string>(StringComparer.Ordinal, new IgnoreLocking()); test["a"] = "b"; Assert.AreEqual(1, test.Count); test.ReplaceStorage(new Dictionary <string, string>()); Assert.AreEqual(0, test.Count); }