public void can_clear_state()
        {
            var state = new ApplicationState();
            state.Put("DefaultState");
            state.Put("test_key", "KeyedState");

            Assert.That(state.Get<string>(), Is.EqualTo("DefaultState"));
            Assert.That(state.Get<string>("test_key"), Is.EqualTo("KeyedState"));

            state.Clear();
            Assert.That(state.Get<string>(), Is.Null);
            Assert.That(state.Get<string>("test_key"), Is.Null);
        }
        public void can_clear_state()
        {
            var state = new ApplicationState();

            state.Put("DefaultState");
            state.Put("test_key", "KeyedState");

            Assert.That(state.Get <string>(), Is.EqualTo("DefaultState"));
            Assert.That(state.Get <string>("test_key"), Is.EqualTo("KeyedState"));

            state.Clear();
            Assert.That(state.Get <string>(), Is.Null);
            Assert.That(state.Get <string>("test_key"), Is.Null);
        }