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?"); }
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 "); }