public void GetModes_DefaultValue()
        {
            var store  = new StateStore();
            var result = store.GetModes();

            Assert.Empty(result);
        }
        public void GetModes_SetAndGet()
        {
            var store = new StateStore();

            store.SetModes(new List <ConditionMode>()
            {
                new ConditionMode("Video", false),
                new ConditionMode("Audio", true),
                new ConditionMode("Work", true)
            });
            var result = store.GetModes();

            Assert.Equal(3, result.Count());
            Assert.Contains(new ConditionMode("Video", false), result);
            Assert.Contains(new ConditionMode("Audio", true), result);
            Assert.Contains(new ConditionMode("Work", true), result);
        }