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

            Assert.AreEqual(AlexaResponse.response.outputSpeech.text, "What's the model of the car?");
        }
Example #2
0
        public void setModelTest_1arg()
        {
            AlexaService.Cache.CacheManager.AddSlots(new Dictionary<string, string>()
                {
                    {"Model", "tercel" }
                }
            );
            var intent = new SetModel();
            var AlexaResponse=  intent.GetAlexaResponse();

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