public void TriggerWhenButtonDownGadgetIdArrayGeneratesCorrectly()
        {
            var gadget1  = "xxx";
            var gadget2  = "yyy";
            var response = new SkillResponse();
            var result   = response.WhenFirstButtonDown(new[] { gadget1, gadget2 }, "eventName", 10000);

            Assert.NotNull(result);

            AssertCreatedButtonDownTriggerFor(response, gadget1, gadget2);
        }
        public void TriggerWhenButtonDownMappingDictionaryGeneratesCorrectly()
        {
            var mapping = new Dictionary <string, string>
            {
                { "gadget1", "xxx" },
                { "gadget2", "yyy" },
            };

            var response = new SkillResponse();
            var result   = response.WhenFirstButtonDown(mapping, "eventName", 10000);

            Assert.NotNull(result);

            AssertCreatedButtonDownTriggerFor(response, mapping.Values.ToArray());
        }