Beispiel #1
0
        public void SetMakeTest_0arg()
        {
            AlexaService.Cache.CacheManager.AddSlots(new Dictionary <string, string>()
            {
            }
                                                     );
            var intent        = new SetMake();
            var AlexaResponse = intent.GetAlexaResponse();

            Assert.AreEqual(AlexaResponse.response.outputSpeech.text, "What's the make of the car?");
        }
Beispiel #2
0
        public void SetMakeTest_1arg()
        {
            AlexaService.Cache.CacheManager.AddSlots(new Dictionary <string, string>()
            {
                { "Make", "Dodge" }
            }
                                                     );
            var intent        = new SetMake();
            var AlexaResponse = intent.GetAlexaResponse();

            Assert.AreEqual(AlexaResponse.response.outputSpeech.text, "The selected make is Dodge");
        }