public void Test(string expected, string strAppState, string key, bool isUp)
        {
            var appState  = TestHelpers.CreateAppState(strAppState);
            var inputKey  = DomainUtils.CreateInputKey(key);
            var processor = new ModificatorsAndCapsChangeProcessor(appState, inputKey, isUp);
            var result    = processor.ProcessKey();
            var actual    = result != null?result.ToString() : "";

            Assert.Equal(expected, actual);
        }
        public void TestProcessStateChange(string expected, string strAppState, string key)
        {
            var appState  = TestHelpers.CreateAppState(strAppState);
            var inputKey  = DomainUtils.CreateInputKey(key);
            var processor = new StateChangeProcessor(appState, inputKey);
            var result    = processor.ProcessStateChange();
            var actual    = result != null?result.ToString() : "";

            Assert.Equal(expected, actual);
        }
        public void Test(string expected, string strAppState, string key)
        {
            var appState  = TestHelpers.CreateAppState(strAppState);
            var inputKey  = DomainUtils.CreateInputKey(key);
            var config    = TestHelpers.CreateConfig();
            var processor = new CommandKeysProcessor(inputKey, appState, config.commandKeys);
            var result    = processor.Process();
            var actual    = result != null?result.ToString() : "";

            Assert.Equal(expected, actual);
        }