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());
        }
        public void CountReturnsCorrectNumberOfObjects()
        {
            IGlobalState state = new GlobalState();

            state.Add("test", 8);
            state.Add("test2", "Steve");

            Assert.AreEqual(2, state.Count());
        }
        public void AddInsertsObjectInGameState()
        {
            IGlobalState state = new GlobalState();

            int testNumber = 8;

            state.Add("test", testNumber);

            Assert.AreEqual(1, state.Count());
            Assert.AreEqual(testNumber, (int)state.Get("test"));
        }
        public void CountReturnsZeroForNewGlobalState()
        {
            IGlobalState state = new GlobalState();

            Assert.AreEqual(0, state.Count());
        }