public void Clear() { var d = new DObject { ["key"] = "value" }; d.Clear(); d.Contains("key").ShouldBeFalse(); }