public void AsReadOnly() { Assert.IsTrue(_dictionary.Equals(_readOnly)); _dictionary["two"] = "foo value"; Assert.IsTrue(_dictionary.Equals(_readOnly)); _dictionary["two"] = "second value"; Assert.IsTrue(_dictionary.Equals(_readOnly)); }