public void ClearEmptiesInventory() { IGlobalState state = new GlobalState(); state.Add("test", 8); state.Add("test2", "Steve"); Assert.AreEqual(2, state.Count()); state.Clear(); Assert.AreEqual(0, state.Count()); }