public bool IsArgumentTrue(KeyDictionary keyDictionary)
        {
            for (var i = 0; i < Keys.Length; i++)
            {
                var key = Keys[i];

                if (!keyDictionary[key])
                {
                    return(false);
                }
            }

            return(true);
        }
        public void Has_all_keys()
        {
            var keys = typeof (Key)
                .GetEnumValues()
                .Cast<Key>()
                .ToList();

            var keyDictionary = new KeyDictionary();

            foreach (var key in keys)
            {
                var key1 = key;
                Action act = () => { var b = keyDictionary[key1]; };

                act.ShouldNotThrow();
            }
        }
        public void SetUp()
        {
            _keys = new KeyDictionary();

            _left = new KeyCombination(Key.Left);
            _right = new KeyCombination(Key.Right);
        }