public void ClearsAndClearsAll() { var hive = new Hive { ["MyProp"] = "Value", ["OtherProp"] = "OtherValue" }; hive.Clear("MyProp"); Assert.Null(hive["MyProp"]); Assert.Equal("OtherValue", hive["OtherProp"]); hive["MyProp"] = "NewValue"; hive.ClearAll(); Assert.Null(hive["MyProp"]); Assert.Null(hive["OtherProp"]); }