public void It_Should_Remove_A_Value() { var dict = new LiquidHash { { "key", LiquidString.Create("test") } }; dict.Remove("key"); Assert.Empty(dict); }
public void It_Should_Remove_Values() { var dict = new LiquidHash { { "key", LiquidString.Create("test") } }; dict.Remove("key"); Assert.False(dict.Values.Any()); }
public void It_Should_Remove_A_Value() { var dict = new LiquidHash { { "key", LiquidString.Create("test") } }; dict.Remove("key"); Assert.That(dict.Count, Is.EqualTo(0)); }